cURL
curl --request DELETE \ --url https://api.mudstack.com/workspaces/members/leave \ --header 'Authorization: Bearer <token>' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>'
Remove the current user from the workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully left the workspace
Was this page helpful?