# `bird whatsapp templates versions delete`

## Usage

```bash
bird whatsapp templates versions delete <template-ref> <version-id> [flags]
```

## Description

Deletes the open draft and every unsubmitted edit in it, leaving the template with no draft until `bird whatsapp templates versions create` opens another. What sends resolve is unaffected, because a submitted version is immutable and keeps serving. To revert one language instead of discarding all of them, use `bird whatsapp templates versions languages discard`.

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

## Examples

```bash
bird whatsapp templates versions delete <template-ref> <version-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 whatsapp templates versions create`](/docs/cli/reference/whatsapp-templates-versions-create) | Create a template draft              |
| [`bird whatsapp templates versions get`](/docs/cli/reference/whatsapp-templates-versions-get)       | Get a template version               |
| [`bird whatsapp templates versions list`](/docs/cli/reference/whatsapp-templates-versions-list)     | List a template's versions           |
| [`bird whatsapp templates versions submit`](/docs/cli/reference/whatsapp-templates-versions-submit) | Submit a template version for review |