---
title: "bird voice sequences versions rollback"
description: "Roll back a voice sequence"
canonical: "https://bird.com/docs/cli/reference/voice-sequences-versions-rollback"
---

# `bird voice sequences versions rollback`

## Usage

```bash
bird voice sequences versions rollback <sequence-id> <version-id> [flags]
```

## Description

Roll back a voice sequence

Select a retained authoring version and replace the draft when expected\_revision matches.

Build the request from flags, a JSON VoiceSequenceLifecycleRequest body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.

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

## Examples

```bash
# print the body shape (no credentials needed)
bird voice sequences versions rollback --example

# the body it prints:
```

```json
{
  "expected_revision": 1
}
```

## Options

#### Request

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--body-file`       | Read the JSON request body from this file; "-" reads stdin   |
| `--example`         | Print a complete example request body, then exit             |
| `--dry-run`         | Print the resolved request without sending it, then exit     |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |

#### Safety

| Name    | Description                                          |
| ------- | ---------------------------------------------------- |
| `--yes` | Confirm the action (required; the CLI never prompts) |

#### Options

| Name                      | Description                                                                                                                                    |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `--expected-revision <n>` | Draft revision read before this change. A stale revision returns 409 without changing the sequence or its draft. (required; or in --body-file) |
| `--response-schema`       | Print the fields this command returns, then exit                                                                                               |

## Related

| Name                                                                                                        | Description                      |
| ----------------------------------------------------------------------------------------------------------- | -------------------------------- |
| [`bird voice sequences versions get`](/docs/cli/reference/voice-sequences-versions-get)                     | Get a voice sequence publication |
| [`bird voice sequences versions list`](/docs/cli/reference/voice-sequences-versions-list)                   | List voice sequence publications |
| [`bird voice sequences versions restore-draft`](/docs/cli/reference/voice-sequences-versions-restore-draft) | Restore a voice sequence draft   |

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