v1

latestOpenAPI 3.1.12026-07-124448163.2 KB
workspace.members

Remove a workspace member

Removes a workspace member from a workspace.

delete/workspaces/{id}/members

Path parameters

idstring cuid required

The ID of the item

Example:cmf41ajzv003706un4i99q19z

Headers

x-client-idstring cuid required

The ID of the client

Example:cmf41ajzv003706un4i99q19z

Request body

userIdstring cuid required

Identifier of the user that should be removed from the workspace.

Example request

{
  "userId": "cmf41ajzv003706un4i99q1a0"
}

Response

Workspace member removed successfully

objectstring required

The type of the deleted object

deletedboolean required

Whether the object was deleted

idstring cuid required

The ID of the deleted object

Example response

{
  "object": "file",
  "deleted": true,
  "id": "cmf41ajzv003706un4i99q19z"
}