Remove a member from an account
Removes one account membership. Call it on yourself to leave a team, or, as an
account_admin of {account_id}, to remove another member. {account_id} must be the
account your API key is bound to.
Removal deletes the member’s roles in that account, revokes their API keys bound to it, and invalidates tokens minted from those keys. If you remove yourself with a key bound to this account, that key stops working too.
You cannot remove a user’s only membership, or the account’s last account_admin.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The user's ID. Use the id from GET /me for your own user.
The account's ID. Use the account_id from GET /me.
Response
The membership was removed.