POST
/
open
/
workspaces
/
{workspaceId}
/
leave
curl --request POST \
  --url https://api.opnform.com/open/workspaces/{workspaceId}/leave \
  --header 'Authorization: Bearer <token>'

Leave Workspace

Remove your own user account from a workspace.

Authentication & Scope

Requires the workspace-users-write ability. Only the authenticated user can leave; admins cannot use this endpoint to kick others (see Remove Workspace User).

Request

POST /open/workspaces/{workspaceId}/leave HTTP/1.1
Host: api.opnform.com
Authorization: Bearer <token>

Path Parameters

ParameterTypeDescription
workspaceIdnumberID of the workspace to quit

Request body is empty.

Response

204 No Content – You successfully left the workspace.

403 Forbidden – Token lacks workspace-users-write or you aren’t a member.

Authorizations

Authorization
string
header
required

Personal Access Token

Path Parameters

workspaceId
string
required

Response

204

Left workspace