Tags

Permanently deletes a tag and removes all associated assignments (both user-to-tag and document-to-tag mappings). Documents that lose their only tag will become accessible to everyone.

Tags are called labels in the API, so paths and fields use label (for example labelId and labels).

delete/api/v1/projects/{projectId}/labels/{labelId}

Request

Path parameters

projectIdinteger required

The unique identifier of the agent.

labelIdinteger required

The unique identifier of the tag to operate on.

Response

Delete tag-user mappings for a project

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "deleted": true
  }
}

Changes