SnozeDevelopers
API referenceWorkspaces

Leave a workspace

Removes the caller's own membership and drops the per-item grants they held in that workspace. Any member may leave their own workspace; the last remaining owner cannot, and that attempt is rejected as a conflict. Owner departures are serialized on the workspace row so two owners cannot both leave concurrently.

DELETE
/v1/workspaces/{workspaceId}/membership
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/string/membership"
{  "data": {    "id": "string"  }}