Admin

Mint an impersonation grant for the given user.

<br/>If the request already carries an authentic grant (switching users<br/>mid-view), the old view is audited as ended first. An expired but<br/>authentic carried grant still closes its trail; only a tampered one<br/>is ignored. Grants are stateless, so a second browser session can<br/>hold its own open view; the trail closes each view it can see.

post/api/v1/admin/impersonation

Request

  • Base URL: https://api.avatarfactory.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.avatarfactory.io/api/v1/admin/impersonation
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Request body

emailstring required

Email of the user to view

Response

OK

tokenstring required

Signed grant for the X-Impersonation-Grant header

Changes

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