POST
/v1/mgmt/impersonate
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\>
Authorization
Authorization
RequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
loginId
string
impersonatorId
string
validateConsent
boolean
Status code | Description |
---|---|
200 | OK |
Was this helpful?