Stop Impersonating
POST/api/v1/auth/stop-impersonating
End a role-impersonation session.
Reads the current JWT; if there's no active impersonation, returns 400 to flag the misuse (caller has stale UI state). Issues a fresh JWT without the claim so all subsequent checks revert to the user's real role.
Responses
- 200
Successful Response