Skip to main content
DELETE
Remove a member
Hard offboarding. The membership is deleted along with the person’s personal workspaces. For a reversible option, suspend the member or use SCIM delete, which only suspends. Hard offboarding — the membership row is deleted and the person’s truly-personal workspaces go with it (unlike SCIM DELETE /Users/{id}, which only suspends). The owner cannot be removed.
Availability: Cloud · Enterprise (self-hosted). Not available on the Community edition: a self-hosted deployment needs ENTERPRISE_ENABLED=true, otherwise the endpoint answers 403 with error.type: "enterprise_license_required".

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

userId
string
required

Response

Removed