admin

Impersonate User

Start impersonating another user.

Mints a new JWT for the target user (with imp claim = admin's id) and sets it as the access_token cookie, while preserving the admin's original token in admin_access_token so /auth/stop-impersonating can restore it.

post/admin/users/{user_id}/impersonate

Request

  • Base URL: https://api.mengi.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mengi.cloud/admin/users/{user_id}/impersonate
  • Auth: none declared

Path parameters

user_idstring uuid required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.