DELETEa tag

DELETE /user-api/v1/tags/:id

Path Parameters

id
string

Tag ID

Query Parameters

include
string

Related data to include: contacts, companies, tasks

Endpoint Example

DELETE /user-api/v1/tags/tag_99999?include=contacts,companies,tasks

Response

{
  "data": {
    "id": "tag_99999",
    "name": "Premium Client",
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-01-15T12:45:00Z",
    "contacts": [
      {
        "id": "contact_123",
        "full_name": "John Doe",
        "image_url": "<https://example.com/avatar.jpg>"
      }
    ],
    "companies": [
      {
        "id": "company_789",
        "name": "Tech Corp",
        "logo_url": "<https://example.com/logo.png>"
      }
    ],
    "tasks": [
      {
        "id": "task_101",
        "body": "Schedule meeting"
      }
    ]
  }
}