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

# Detach creative from campaign

> Remove a creative from a campaign without archiving it globally

`DELETE /api/v2/buyer/campaigns/{campaignId}/creatives/{creativeId}`

Detaches a creative from the specified campaign. The creative is removed from that campaign's creative list and unlinked from draft and pending media buys in that campaign. Returns `204 No Content` on success.

The creative manifest is **not** archived globally — it remains available in the advertiser library and in any other campaigns it belongs to.

To permanently archive a creative across all campaigns, use [`DELETE /api/v2/buyer/advertisers/{advertiserId}/creatives/{creativeId}`](#global-archive).

## Request

```bash theme={null}
curl -X DELETE https://api.apostra.com/api/v2/buyer/campaigns/cmp_987654321/creatives/cm_abcdef \
  -H "Authorization: Bearer $SCOPE3_API_KEY"
```

## Parameters

| Field        | Type   | Required | Notes                                |
| ------------ | ------ | -------- | ------------------------------------ |
| `campaignId` | string | Yes      | Path param — campaign to detach from |
| `creativeId` | string | Yes      | Path param — creative manifest ID    |

## Response

`204 No Content` — the response body is empty. The creative is detached from this campaign; it is not removed from other campaigns or from the advertiser library.

## Errors

* `404 NOT_FOUND` — `campaignId` or `creativeId` does not exist or is not visible to the authenticated account.
* `400 VALIDATION_ERROR` — the creative has active or paused media buys on this campaign; pause or end those buys before detaching.

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

## Global archive

To archive a creative permanently and remove it from all campaigns:

```bash theme={null}
curl -X DELETE https://api.apostra.com/api/v2/buyer/advertisers/adv_123456/creatives/cm_abcdef \
  -H "Authorization: Bearer $SCOPE3_API_KEY"
```

This archives the creative manifest. Active or paused media buys on any campaign block this operation.

## Related

<CardGroup cols={2}>
  <Card title="Creative overview" href="/v2/object-guides/creative" icon="image">
    Manifest lifecycle and propagation
  </Card>

  <Card title="Get creative manifest" href="/v2/buyer/creatives/tasks/get-creative-manifest" icon="magnifying-glass">
    Confirm the manifest before detaching
  </Card>

  <Card title="List creative manifests" href="/v2/buyer/creatives/tasks/list-creative-manifests" icon="list">
    Browse remaining manifests
  </Card>
</CardGroup>
