Skip to main content
DELETE
Remove Workspace User

Authentication & Scope

Requires the workspace-users-write ability.
You cannot remove yourself from a workspace using this endpoint. Use the Leave Workspace endpoint instead.

Request

Path Parameters

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.

Authorizations

Authorization
string
header
required

Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.

Path Parameters

workspaceId
integer
required
userId
integer
required

Response

User removed