Clients

Complete the rotation of a Connected App client secret started with the Rotate Secret Start Endpoint. After this endpoint is called, the client's next_client_secret becomes its client_secret and the previous client_secret will no longer be valid.

post/v1/connected_apps/clients/{client_id}/secrets/rotate

Request

  • Base URL
    https://api.stytch.com
  • Auth
    HTTP basic

Path parameters

client_idstring required

The ID of the client.

Request body

ApiConnectedappsV1ConnectedAppsClientsSecretsRotateRequest required

Request type

Response

Successful response

request_idstring required

Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.

status_codeinteger required

The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.

Changes