Remove Workspace Member
Take away the role a member was given in a workspace.
Take away the role a member was given in a workspace. An inherited role can't be removed: in the Default Workspace the member falls back to it.
DELETE /v1/organizations/workspaces/:workspace_id/members/:user_idPath parameters
workspace_idstringrequiredThe workspace's ID.
user_idstringrequiredThe user's ID.
Response
type'workspace_member_deleted'optionalAlways workspace_member_deleted.
user_idstringoptionalThe user's ID.
workspace_idstringoptionalThe workspace's ID.
Errors
| Status | Reason |
|---|---|
400 | The member's role is inherited (organization owner, admin or billing, or the Default Workspace), or the workspace is archived. |
404 | The workspace doesn't exist, or the user has no role in it. |