Skip to main content
POST
/
workspaces
/
{workspaceId}
/
leave
Leave workspace
curl --request POST \
  --url http://localhost:4100/api/v1/workspaces/{workspaceId}/leave \
  --header 'Authorization: Bearer <token>'
{
  "workspaceId": "<string>"
}

Authorizations

Authorization
string
header
required

Your Postbreeze API key

Path Parameters

workspaceId
string
required

Prefixed cuid of the workspace to leave.

Example:

"ws_01HZX5T2K9Q3RB6N6JZP3RYV0M"

Response

Membership removed.

workspaceId
string