API ReferenceManagementEngines Management
POST
/v1/mgmt/engine/rotate

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

id?string

Rotate an engine's secret, returning the new secret. The previous secret is immediately invalidated. Requires a valid management key.

curl -X POST "https://api.descope.com/v1/mgmt/engine/rotate" \  -H "Content-Type: application/json" \  -d '{}'
{  "secret": "string"}
export interface Response {secret?: string}
Was this helpful?