auth

Switch Impersonation

Switch from impersonating one user to another without returning to admin portal.

Must be called while already in an impersonation context. The token's subject is the currently impersonated user; the impersonator_id claim identifies the real admin. We verify the admin is still SUPER_ADMIN and switch to the new target.

post/v1/auth/switch-impersonation

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

user_idstring uuid required

Response

Successful Response

access_tokenstring required
is_impersonationboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.