cURL
curl --request DELETE \ --url https://api.mudstack.com/accounts/members/leave/{account_id} \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>'
Remove the current user from the specified account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the account to leave.
Successfully removed the user from the account.
Was this page helpful?