Delete account member

http
DELETE /accounts/{account_id}/members/{user_id}

Remove a member from the account, or leave it yourself; removing another member requires account.members.manage. Requires account.read; API keys also need delete scope.

Parameters

NameInRequiredDescription
account_idpathYes
user_idpathYesMember to remove. Members may remove themselves. Removing another member requires account.members.manage. Removing another owner requires account ownership authority. The account must retain at least one owner. Removing an absent member returns 404. The member also loses access to every project in the account; projects they own pass to the longest-standing other account owner. Projects and financial history are not touched.

Responses

StatusDescription
200Membership and project access in the account removed. Projects and financial history are not touched.
400Bad request
401Unauthorized
403Forbidden. API keys also require delete scope.
404Not found
409Conflict
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.