Leave Account
Remove your own membership from the active account — the one you switched to (with an API key, the account the key acts in). Your user and your other accounts are untouched; only this membership ends, and you lose access to the account and its resources. To remove someone else, use Remove Member.
The owner cannot leave: transfer ownership first, then leave. Any other member may leave — no role permission is needed beyond being a member.
Leaving also cleans up your credentials for this account (your API keys are yours and stay; their requests then act in your default account):
- your agent auth tokens for this account are deleted;
- every signed-in session of your user ends (session tokens are revoked), so the dashboard asks you to sign in again.
A suspended account can still be left by a non-owner member; its owner gets the suspension refusal.
Request body
None. Send the Content-Type: application/json header anyway — every POST without it is refused with 415.
Response (200 OK)
true once your membership is removed.Errors
No active account selected, Not a member of this account, or — for the owner of a suspended account — code account_suspended.You are not a member of this account — there is no active membership of yours to remove.The account owner cannot leave; transfer ownership first.Content-Type: application/json header is missing.