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

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
integer
required

ID of the workspace

invitation_id
integer
required

ID of the invitation

Response

200 - application/json
status
enum<string>
required

The outcome of the deletion request

Available options:
deleted