Skip to Content
Docs

Rotate client secret by id

POST
/organizations/{organizationId}/clients/{clientId}/rotate-secret

required scopes: contextual:client-secrets:update

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

Response Body

Client secret rotated successfully

Example Request
curl -X POST 'https://auth.your-tenant-id.my.contextual.io/api/v1/organizations/{organizationId}/clients/{clientId}/rotate-secret'
Example Response
Empty