Tags

Remove users from tags.

Changed on

Removes specific users from one or more tags without affecting other users' assignments. Use this when offboarding users or revoking access to specific content.

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

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

Request

Path parameters

projectIdinteger required

The unique identifier of the agent. You can find this in the CustomGPT dashboard or from the response of POST /api/v1/projects.

Request body

Example request

{
  "labels": [
    {
      "id": 123,
      "users": [
        "manager@example.com"
      ]
    }
  ]
}

Response

Delete tag-user mappings for a project

status'error' | 'success'

The status of the response

Example response

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

Changes