# Delete tag

> Remove a tag from the library.

Source: https://docs.mycrmsim.com/docs/tags/delete-tag

```http
DELETE https://backend.mysmsgateway.app/api/v1/ext/tags/{id}
```

- Category: myCRMSIM Contacts / Tags
- Auth: Bearer access token
- Scope: `contacts.write`

The library row only: contacts that carry the tag keep it (remove it from them with *Remove tags*). AI agent tags are not library rows and cannot be deleted here.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | number | yes | The tag id. Example: `310` |

## Response 200

OK

```json
{
  "success": true,
  "message": "Tag deleted",
  "data": {
    "id": 310,
    "workspace_id": 7,
    "name": "vip"
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): contacts.write. This integration was granted: …"
}
```

## Response 404

Tag does not exist or is not owned by the installer (same response for both)

```json
{
  "success": false,
  "message": "Tag not found or not accessible to this token"
}
```
