---
search:
  tags:
    - Brands
    - DELETE
seo:
  description: >-
    Detaches an advertiser from a Brand. This brand… Reference for the DELETE
    /context/brands/{slug}/advertisers/{advertiserId} endpoint in the AdCrunch
    API.
sidebar:
  label: Detach an advertiser
  badge: DELETE
title: Detach an advertiser
type: openapi-operation
---
Detaches an advertiser from a Brand. This brand context stops applying to that advertiser, so an agent working on it no longer reads this Brand. Nothing else changes: the advertiser stays connected to your organization, the Brand keeps its body, and a Campaign Plan that names the advertiser keeps naming it. AdCrunch resolves the provider from the advertiser, as the attach does, so the ownership check runs here too.

`DELETE /context/brands/{slug}/advertisers/{advertiserId}`

**Responses**

- `204` — Detached. Unlike everything else here the link is \*\*hard-deleted\*\*: it has no content to preserve, and a tombstone would permanently occupy the only key that pair could use.
- `400` — The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. \`error\` is \`invalid\_request\`, and \`issues\` names each field. Nothing was changed.
- `401` — No API key, or one that does not resolve. See the security scheme. \`error\` is \`unauthorized\`.
- `402` — The organization has no active subscription. An owner subscribes at \`paywallUrl\`. \`error\` is \`organization\_unentitled\`.
- `403` — The caller does not hold \`brand:write\`. \`error\` is \`forbidden\`.
- `404` — \`error\` tells the two apart. \`not\_found\`: no Brand with that slug. \`not\_attached\`: the Brand exists and that advertiser was never attached to it.
- `422` — That advertiser is not connected to this organization. \`error\` is \`advertiser\_not\_owned\`.
