# `bird amb routing-rules delete`

## Usage

```bash
bird amb routing-rules delete <routing-rule-id> [flags]
```

## Description

Deletes a routing rule. A conversation already routed by it keeps its queue; only newly created or reopened conversations stop matching it. Deleting a business's default rule leaves it with none, so unmatched conversations route to an empty queue until you create another.

This is destructive and cannot be undone; pass --yes to confirm.

## Examples

```bash
bird amb routing-rules delete <id> --yes
```

## Options

#### Safety

| Name                | Description                                                    |
| ------------------- | -------------------------------------------------------------- |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice   |
| `--yes`             | Confirm a destructive action (required; the CLI never prompts) |

## Related

| Name                                                                            | Description                                        |
| ------------------------------------------------------------------------------- | -------------------------------------------------- |
| [`bird amb routing-rules create`](/docs/cli/reference/amb-routing-rules-create) | Create an Apple Messages for Business routing rule |
| [`bird amb routing-rules get`](/docs/cli/reference/amb-routing-rules-get)       | Get an Apple Messages for Business routing rule    |
| [`bird amb routing-rules list`](/docs/cli/reference/amb-routing-rules-list)     | List Apple Messages for Business routing rules     |
| [`bird amb routing-rules update`](/docs/cli/reference/amb-routing-rules-update) | Update an Apple Messages for Business routing rule |

## Related resources

- [Should I use a Bird SDK or call the API directly?](/explained/platform/should-i-use-an-sdk-or-call-the-api-directly) (answer)
- [Build your first integration](/learn/paths/integration) (course)
- [Send your first email](/docs/get-started/send-your-first-email) (docs)

[Get an implementation brief](/learn/workspace?topic=api-basics)
