Remove Workspace User
Workspace Users
Remove User from Workspace
Remove a user from the workspace.
DELETE
Remove Workspace User
Authentication & Scope
Requires theworkspace-users-write ability.
You cannot remove yourself from a workspace using this endpoint. Use the Leave Workspace endpoint instead.
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | integer | Yes | The workspace ID |
userId | integer | Yes | The user ID to remove |
Response
204 No Content – User successfully removed.
404 Not Found – User is not a member of this workspace.
403 Forbidden – You don’t have permission to remove users.