Skip to main content
POST
Leave Workspace

Authentication & Scope

Requires the workspace-users-write ability.
If you are the only admin of the workspace, you must assign another admin before leaving.

Request

Path Parameters

Response

200 OK – Successfully left the workspace.
403 Forbidden – You are the only admin and cannot leave. 404 Not Found – You are not a member of this workspace.

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

Response

Left workspace