# Delete Tag Beta

> Delete a tag and detach it from every resource.

> Documentation index: https://www.foxreach.io/docs/llms.txt lists every page of these docs. Each page is also served as Markdown: add `.md` to its URL.

`DELETE` https://api.foxreach.io/api/v1/tags/{tag_id}

> **Note:** **Beta.** This endpoint is new and may change.

Requires an API key with the `write` scope.

Deletes the tag and removes it from every lead, campaign or email account that carried it. The resources themselves are not changed. There is no undo: creating the tag again does not re-attach it. An `audit.tag.deleted` entry records the tag and how many resources it was on. A warmup tag returns `404`.

## Path Parameters

- `tag_id` string path required: The tag id.

**Request example**

```bash cURL
curl -X DELETE "https://api.foxreach.io/api/v1/tags/tag_abc123" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK (beta)
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
client.tags.delete("tag_abc123")
```

```typescript TypeScript SDK (beta)
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
await client.tags.delete("tag_abc123");
```

**Response example**

```json
// 204 No Content
```

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `write` |
| `404` | Tag not found |

## Rate Limit

- **120 requests per minute, shared by every `write` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`write`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns, see [Rate Limiting](https://www.foxreach.io/docs/rate-limiting).
