POST
/v1/mgmt/impersonate/stepupAuthorization
Descope Project ID and Management Key AuthorizationBearer <token>
Project ID:Management Key as bearer token.
In: header
Request Body
application/json
loginId*string
Length
1 <= lengthimpersonatorId*string
Length
1 <= length <= 100validateConsent?boolean
customClaims?object
Custom claims to include in the JWT as key-value pairs. Keys must be strings; values can be strings, numbers, or booleans.
Example
{
"claim-name": "claim-value"
}selectedTenant?string
refreshDuration?integer
Format
int32sessionCookieName?string
Length
length <= 64Impersonate as a different user with step-up claim
curl -X POST "https://api.descope.com/v1/mgmt/impersonate/stepup" \ -H "Content-Type: application/json" \ -d '{ "loginId": "string", "impersonatorId": "string" }'{ "jwt": "string"}export interface Response {jwt?: string} Was this helpful?
Impersonate Family Dependent POST
Impersonate a family dependent. The impersonator (by user ID) must be a member of the dependent's family and hold the family impersonate-dependents permission there.
List Logout Sessions Rules POST
List the project's active rules created by the logout sessions endpoint, with their ids, using a valid management key. Expired rules are not returned.