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

Request

Response

Successful Response

unknown required

Changes

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