# BRD-195 — Deactivate every campaign before deleting a brand

> All campaigns on a brand must be deactivated before the brand can be deleted.

- **Rule ID:** BRD-195
- **Layer:** Brand (`BRAND`)
- **Checks:** `the campaign states under the brand`
- **Severity:** BLOCKING — Breaking this rule gets the submission rejected outright.
- **When it bites:** Gates approval — get this wrong and registration is refused
- **How it is detected:** Deterministic (settled in code from the submitted values)
- **Fix type:** Wait on an external system or a required interval
- **Required by:** TCR, Twilio
- **Applies:** Applies to every 10DLC registration.
- **Canonical URL:** https://ekas.io/rules/10dlc/brand/brd-195/

## Why this rule exists

The deletion is refused while campaigns are attached, which is a good outcome — the alternative would be live traffic against a brand that no longer exists. It matters because the refusal arrives in the middle of a decommissioning that has usually already been announced, and the campaigns have their own minimum age before they can be deactivated.

## How to fix it

Deactivate each campaign first, allow for the campaign minimum age before it can be deactivated, and delete the brand last. Done when the brand carries no active campaigns at the moment of deletion.

## Provider rejection codes

| Provider | Code | Resubmission allowed |
| --- | --- | --- |
| Twilio | `30710` | yes |

## Check this yourself

**Is every campaign on this brand already deactivated, and has each cleared its minimum age?**

1. Deactivate the campaigns first, then delete the brand.
2. Check each campaign's age — one registered days ago may not be deactivatable yet, which turns a same-day decommissioning into a multi-day one.

*What wrong looks like:* The deletion is refused mid-decommissioning, after the date has already been announced, because a campaign registered last week cannot yet be switched off.

## Notes

Absorbs OPS-169, which states the same precondition and adds the campaign minimum age — a campaign registered days ago may not be deactivatable yet, which turns a same-day decommissioning into a multi-day one.
