# `bird email templates versions delete`

## Usage

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

## Description

Throw away the draft's unsaved changes, resetting its content to what is currently published.

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

## Examples

```bash
bird email templates versions delete <template-id> <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 email templates versions get`](/docs/cli/reference/email-templates-versions-get)           | Get an email template version    |
| [`bird email templates versions list`](/docs/cli/reference/email-templates-versions-list)         | List email template versions     |
| [`bird email templates versions rollback`](/docs/cli/reference/email-templates-versions-rollback) | Roll back an email template      |
| [`bird email templates versions submit`](/docs/cli/reference/email-templates-versions-submit)     | Submit an email template version |