Skip to main content
POST
/
api
/
auth
/
exit-impersonation
Exit impersonation and restore original admin session
curl --request POST \
  --url https://your-instance.example.com/api/auth/exit-impersonation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "originalAdminToken": "<string>",
  "originalAdminUser": {}
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
originalAdminToken
string
required
originalAdminUser
object
required

Response

Impersonation exited

Generic response envelope. Endpoint-specific fields are intentionally open.