> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interchange.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete test cohort

> Archive a test cohort by ID

`DELETE /api/v2/buyer/advertisers/{advertiserId}/test-cohorts/{cohortId}`

Archives a test cohort. Returns `204 No Content` on success.

## Request

<CodeGroup>
  ```bash curl theme={null}
  curl -X DELETE https://api.interchange.io/api/v2/buyer/advertisers/12345/test-cohorts/42 \
    -H "Authorization: Bearer $SCOPE3_API_KEY"
  ```
</CodeGroup>

## Parameters

| Field          | Type   | Required | Notes                                  |
| -------------- | ------ | -------- | -------------------------------------- |
| `advertiserId` | string | Yes      | Path parameter — the owning advertiser |
| `cohortId`     | string | Yes      | Path parameter — the cohort ID         |

## Response

```
204 No Content
```

The response has no body. The cohort is archived and no longer appears in [List test cohorts](/v2/buyer/measurement/tasks/list-test-cohorts).

## Errors

* `404 NOT_FOUND` — `cohortId` (or `advertiserId`) does not exist or is not visible to the authenticated account.

See [Errors](/v2/reference/errors) for the full error contract.

## Related

<CardGroup cols={2}>
  <Card title="Measurement tasks" href="/v2/buyer/measurement/tasks" icon="list-check">
    All measurement operations
  </Card>

  <Card title="Measurement overview" href="/v2/guides/measurement-incrementality" icon="chart-line">
    Pipeline, belief state, and concepts
  </Card>

  <Card title="List test cohorts" href="/v2/buyer/measurement/tasks/list-test-cohorts" icon="list">
    See remaining cohorts
  </Card>
</CardGroup>
