provider Clients POST /v1/m2m/clients/{client_id}/secrets/rotate/cancel
@utdk/stytch /v1/m2m/clients/{client_id}/secrets/rotate/cancel
Rotatecancel
Cancel the rotation of an M2M client secret started with the [Start Secret Rotation Endpoint](https://stytch.com/docs/b2b/api/m2m-rotate-secret-start) [Start Secret Rotation Endpoint](https://stytch.com/docs/api/m2m-rotate-secret-start). After this endpoint is called, the client's `next_client_secret` is discarded and only the original `client_secret` will be valid.
client_id path required
The ID of the client.
string

Try it

Authentication
Configure credentials for Stytch API
apiM2mV1M2mClientsSecretsRotatecancel
POST/v1/m2m/clients/{client_id}/secrets/rotate/cancel
Cancel the rotation of an M2M client secret started with the [Start Secret Rotation Endpoint](https://stytch.com/docs/b2b/api/m2m-rotate-secret-start) [Start Secret Rotation Endpoint](https://stytch.com/docs/api/m2m-rotate-secret-start). After this endpoint is called, the client's `next_client_secret` is discarded and only the original `client_secret` will 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.apiM2mV1M2mClientsSecretsRotatecancel()