API Reference/Management/Users
POST
/v1/mgmt/stop/impersonation

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

application/jsonRequired
jwtstring
selectedTenantstring
customClaimsobject
refreshDurationinteger
Format: "int32"
curl -X POST "https://api.descope.com/v1/mgmt/stop/impersonation" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "jwt": "string",
    "selectedTenant": "string",
    "customClaims": {},
    "refreshDuration": 0
  }'

OK

{
  "jwt": "string"
}

Was this helpful?