Remove Member
DELETE/workspaces/:workspace_id/members/:user_id
Remove a member from a workspace. Workspace admin or platform admin access only.
A non-admin caller cannot remove themselves, cannot remove a platform admin from the workspace
named "default", and no caller can remove the workspace's last remaining workspace_admin —
each of those leaves the workspace without the access it needs to be administered.
Returns 404 if the workspace does not exist or the target user is not a member of it. Returns
403 if the caller is not a workspace_admin member of the workspace (or a platform admin).
Returns 422 for one of the protected removals above.
Request
Responses
- 204
- 403
- 404
- 422
Successful Response
Forbidden
Not Found
Unprocessable Entity