# Delete a collection, optionally its trackers

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

DELETE `/v1/collections/{id}`

Deletes the Collection. Its Trackers keep running unless `delete_trackers=true`, which deletes the members that sit in no other Collection. The response always lists the former members still active, which are still charged every cycle.

## Price

Free.

## Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `id` | path | `string` | Required | — | Collection id. |
| `delete_trackers` | query | `boolean` | Optional | `false` | Also delete member Trackers that are in no other Collection. Default false. |

## Responses

### 200 OK

`{ collection, deleted_trackers, trackers_still_active }`.

object

- `collection` object required The Collection as it was.
  - `id` string required
  - `name` string required Unique per Customer, regardless of case.
  - `kind` string required one of `creator`, `hashtag`, `sound`, `advertiser`, `keyword`, `video` What every member is. Fixed at creation. `video` is deprecated: existing Video Collections keep working, new ones are refused with 400 `kind_deprecated`.
  - `member_count` integer required Live (active or paused) member Trackers.
  - `created_at` string required
  - `updated_at` string required
- `deleted_trackers` array of object required Deleted with it; only with `delete_trackers=true`.
  - `id` string required
  - `kind` string required one of `creator`, `hashtag`, `sound`, `advertiser`, `keyword`, `video` `video` is deprecated (ADR 0024): existing Video Trackers keep working, new ones are refused with 400 `kind_deprecated`.
  - `platform` string required `meta` or `tiktok` for an advertiser Tracker.
  - `target` string required
  - `intelligence` boolean required Whether each new video (or Ad) the cycle finds is analysed.
  - `state` string required one of `active`, `paused`, `deleted`
  - `last_cycle_at` string required nullable
  - `last_run_id` string required nullable
  - `created_at` string required
  - `updated_at` string required
  - `coverage` string one of `library_regions_only`, `partial` `GET /v1/trackers/{id}`. TikTok advertiser: `library_regions_only` when its latest observation found no Ads in the TikTok ad library, which holds only Ads delivered in the EU/EEA, Switzerland, the UK and Turkey. Google advertiser: `partial` when it runs more Ads than a cycle lists. Keyword on Instagram or Facebook: `partial`, their search being a best-effort index. Absent otherwise.
  - `coverage_note` string The regions the TikTok ad library covers, beside `coverage`.
  - `focus` object The Tracker's Focus: which Videos are relevant to you. Terms are stored lowercased. Absent when it has none.
    - `text` string required
    - `must_mention` array of string required
- `trackers_still_active` array of object required Former members still active, and so still charged each cycle.
  - `id` string required
  - `kind` string required one of `creator`, `hashtag`, `sound`, `advertiser`, `keyword`, `video` `video` is deprecated (ADR 0024): existing Video Trackers keep working, new ones are refused with 400 `kind_deprecated`.
  - `platform` string required `meta` or `tiktok` for an advertiser Tracker.
  - `target` string required
  - `intelligence` boolean required Whether each new video (or Ad) the cycle finds is analysed.
  - `state` string required one of `active`, `paused`, `deleted`
  - `last_cycle_at` string required nullable
  - `last_run_id` string required nullable
  - `created_at` string required
  - `updated_at` string required
  - `coverage` string one of `library_regions_only`, `partial` `GET /v1/trackers/{id}`. TikTok advertiser: `library_regions_only` when its latest observation found no Ads in the TikTok ad library, which holds only Ads delivered in the EU/EEA, Switzerland, the UK and Turkey. Google advertiser: `partial` when it runs more Ads than a cycle lists. Keyword on Instagram or Facebook: `partial`, their search being a best-effort index. Absent otherwise.
  - `coverage_note` string The regions the TikTok ad library covers, beside `coverage`.
  - `focus` object The Tracker's Focus: which Videos are relevant to you. Terms are stored lowercased. Absent when it has none.
    - `text` string required
    - `must_mention` array of string required

### 400 Bad Request

`invalid_request` — `delete_trackers` other than `true` or `false`.

Code: `invalid_request`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 401 Unauthorized

Codes: `missing_authorization`, `invalid_key`, `key_revoked`, `key_expired`, `invalid_token`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 404 Not Found

Code: `not_found`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

## Request samples

curl:

```bash
curl -X DELETE "https://www.shortsintel.com/v1/collections/col_7d20e1b5c4?delete_trackers=false" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/collections/col_7d20e1b5c4?delete_trackers=false",
  {
    method: "DELETE",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.delete(
    "https://www.shortsintel.com/v1/collections/col_7d20e1b5c4?delete_trackers=false",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

200 · `{ collection, deleted_trackers, trackers_still_active }`.

```json
{
  "collection": {
    "id": "col_7d20e1b5c4",
    "name": "Competitors",
    "kind": "creator",
    "member_count": 4,
    "created_at": "2026-09-02T09:14:40.221Z",
    "updated_at": "2026-09-02T09:14:40.221Z"
  },
  "deleted_trackers": [],
  "trackers_still_active": [
    {
      "id": "trk_4b1e90c7aa",
      "kind": "creator",
      "platform": "tiktok",
      "target": "someone",
      "intelligence": true,
      "state": "active",
      "last_cycle_at": "2026-09-08T04:00:11.402Z",
      "last_run_id": "run_c07a41bb92",
      "created_at": "2026-09-01T11:20:03.118Z",
      "updated_at": "2026-09-08T04:00:11.402Z"
    }
  ]
}
```

[Previous Change a collection's name](https://www.shortsintel.com/docs/reference/collections/rename-collection)[Next Rank the members](https://www.shortsintel.com/docs/reference/collections/list-collection-members)
