Skip to main content
Remove Member
Removes a member from a workspace. Requires the remove-member capability and is rank-bounded (act only on strictly-lower ranks). Fires workspace.member.removed.
Owners have no member row, so removal targets member rows only. Sole-owner protection: the owner cannot be removed while sole owner — they must transfer ownership first.

Path Parameters

string
required
The workspace UUID.
string
required
The member to remove.

Body Parameters

string
Service/master keys only — the acting user (sent in the body so the act-as-user path works on DELETE; the path :userId is the target).

Response

204 No Content on success.

Error Responses