Impersonation

From SocialStack
Revision as of 02:51, 11 November 2021 by Luke (talk | contribs) (Created page with "If you need to switch account, often to debug something, there are two useful endpoints on the API for doing just that. The functionality is only available to admin users and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you need to switch account, often to debug something, there are two useful endpoints on the API for doing just that. The functionality is only available to admin users and will also refuse any elevation attempts, such as attempting to impersonate a developer account from a regular admin one.


Starting impersonation

Send a get request to /v1/user/x/impersonate

Ending impersonation

Send a get request to /v1/user/unpersonate