provider Clients POST /v1/connected_apps/clients/{client_id}/secrets/rotate
@utdk/stytch /v1/connected_apps/clients/{client_id}/secrets/rotate
Rotate
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.
client_id path required
The ID of the client.
string

Try it

Authentication
Configure credentials for Stytch API
apiConnectedappsV1ConnectedAppsClientsSecretsRotate
POST/v1/connected_apps/clients/{client_id}/secrets/rotate
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.

Parameters

required

The ID of the client.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiConnectedappsV1ConnectedAppsClientsSecretsRotate()