# `bird voice trunks gateways delete`

## Usage

```bash
bird voice trunks gateways delete <trunk-id> <gateway-id> [flags]
```

## Description

Remove an inbound gateway. Removing the last gateway stops new inbound delivery through the trunk. Requires inbound calling enabled.

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

## Examples

```bash
bird voice trunks gateways delete <trunk-id> <gateway-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 voice trunks gateways create`](/docs/cli/reference/voice-trunks-gateways-create) | Create a gateway on a SIP trunk |
| [`bird voice trunks gateways get`](/docs/cli/reference/voice-trunks-gateways-get)       | Get a SIP trunk gateway         |
| [`bird voice trunks gateways list`](/docs/cli/reference/voice-trunks-gateways-list)     | List a SIP trunk's gateways     |
| [`bird voice trunks gateways update`](/docs/cli/reference/voice-trunks-gateways-update) | Update a SIP trunk gateway      |

## 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)
