DELETE
/
workspaces
/
{workspace_id}
/
users
/
{user_id}
curl --request DELETE \
  --url https://app.getcensus.com/api/v1/workspaces/{workspace_id}/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "deleted"
}

Authorizations

Authorization
string
headerrequired

Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.

Path Parameters

workspace_id
integer
required

ID of the workspace

user_id
integer
required

ID of the user

Response

200 - application/json
status
enum<string>
required

The outcome of the deletion request

Available options:
deleted