---
title: "bird esim orders cancel"
description: "Cancel an unfunded order"
canonical: "https://bird.com/docs/cli/reference/esim-orders-cancel"
---

# `bird esim orders cancel`

## Usage

```bash
bird esim orders cancel <order-id> [flags]
```

## Description

Cancel an order waiting for funds. Inspect the returned status: an unfunded order fails with failure\_code canceled; an initial recurring order whose payment was recovered continues delivery with future renewal stopped. One-time orders already funded return a conflict.

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

## Examples

```bash
bird esim orders cancel <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) |

#### Options

| Name                | Description                                      |
| ------------------- | ------------------------------------------------ |
| `--response-schema` | Print the fields this command returns, then exit |

## Related

| Name                                                                | Description          |
| ------------------------------------------------------------------- | -------------------- |
| [`bird esim orders create`](/docs/cli/reference/esim-orders-create) | Order a data package |
| [`bird esim orders get`](/docs/cli/reference/esim-orders-get)       | Get an order         |
| [`bird esim orders list`](/docs/cli/reference/esim-orders-list)     | List orders          |

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