Rotatestart
Changed onInitiate the rotation of an M2M client secret. After this endpoint is called, both the client's client_secret and next_client_secret will be valid. To complete the secret rotation flow, update all usages of client_secret to next_client_secret and call the Rotate Secret EndpointRotate Secret Endpoint to complete the flow.Secret rotation can be cancelled using the Rotate Cancel EndpointRotate Cancel Endpoint.
Important: This is the only time you will be able to view the generated next_client_secret in the API response. Stytch stores a hash of the next_client_secret and cannot recover the value if lost. Be sure to persist the next_client_secret in a secure location. If the next_client_secret is lost, you will need to trigger a secret rotation flow to receive another one.
Request
- Base URLhttps://api.stytch.com
- AuthHTTP basic
Path parameters
The ID of the client.
Request body
Request type
Response
Successful response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking