Impersonate User

Impersonate a user, using a valid management key.

This API endpoint will allow you to impersonate a user using a login ID. The impersonator user must have the impersonation permission in order for this request to work. The response would be a refresh JWT of the impersonated user

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer <ProjectId:ManagementKey>

SecurityAuthProjectIdMgmtKey
Request
Request Body schema: application/json
required
loginId
string
impersonatorId
string
validateConsent
boolean
Responses
200

OK

post/v1/mgmt/impersonate
Request samples
Response samples
application/json
{
  • "jwt": "string"
}