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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiM2mV1M2mClientsSecretsRotatecancel()