Cancel the rotation of a Connected App client secret started with the Start Secret Rotation Endpoint. After this endpoint is called, the client's next_client_secret is discarded and only the original client_secret will be valid.
Cancel Connected App Secret Rotation
POST
https://test.stytch.com/v1/connected_apps/clients/{client_id}/secrets/rotate/cancelPath parameters
client_id* string
Response fields
status_code int
request_id string
connected_app object
// Backend SDKs coming soon.
RESPONSE
200
{
"client_id": "connected-app-test-d731954d-dab3-4a2b-bdee-07f3ad1be888",
"client_secret_last_four": "old_",
"next_client_secret_last_four": null
}