Admin Impersonation Lifecycle
admin-impersonation-lifecycle

End Impersonation

Voluntarily end the current impersonation session.

Called when the admin clicks "Exit" in the impersonation banner. Marks the audit row with ended_at + end_reason='admin_exit' and deletes the underlying user_sessions row. Like /refresh, this trusts the imp_ token itself.

post/api/admin/impersonate/end

Response

Successful Response

{"stackTrail":"paths:/api/admin/impersonate/end:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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