Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request DELETE \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/members/{memberId} \
--header 'Authorization: Bearer <token>'{
"type": "unprocessable_entity",
"code": "cannot_remove_last_owner",
"message": "You cannot remove the last owner of the workspace. Please transfer ownership first.",
"doc_url": "https://docs.altostrat.io/errors/cannot_remove_last_owner"
}Removes a member from a workspace. A user can remove themselves, or an owner/admin can remove other members. The last owner of a workspace cannot be removed.
curl --request DELETE \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/members/{memberId} \
--header 'Authorization: Bearer <token>'{
"type": "unprocessable_entity",
"code": "cannot_remove_last_owner",
"message": "You cannot remove the last owner of the workspace. Please transfer ownership first.",
"doc_url": "https://docs.altostrat.io/errors/cannot_remove_last_owner"
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Enter your JWT in the format: Bearer {token}
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The Auth0 User ID (sub) of the workspace member.
"auth0|64f5a6b7c8d9e0f1a2b3c4d5"
The member was removed successfully.
Was this page helpful?