Remove a workspace member
Remove a user from the workspace and its projects. Only the workspace owner can remove members, and the owner cannot be removed.
DELETE
/api/v1/workspaces/{workspaceId}/members/{userId}Authorization
Authorization required string · header
Bearer <token> with an account API key that has the members:write scope. Path parameters
workspaceId required string
userId required string
Response
200 · application/json
Source model: TeamMemberModel.
| Field | Type | Description |
|---|---|---|
removed | boolean | Whether the membership was removed. |
workspaceId | string | Workspace ID. |
userId | string | User ID. |