# `bird whatsapp agents files delete`

## Usage

```bash
bird whatsapp agents files delete <number-id> <file-id> [flags]
```

## Description

Remove one file from the agent on this WhatsApp number, at WhatsApp and here. The agent stops using it from the next conversation turn.

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

## Examples

```bash
bird whatsapp agents files delete <number-id> <file-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 agents files download`](/docs/cli/reference/whatsapp-agents-files-download) | Download one of an agent's files |
| [`bird whatsapp agents files get`](/docs/cli/reference/whatsapp-agents-files-get)           | Get one of an agent's files      |
| [`bird whatsapp agents files list`](/docs/cli/reference/whatsapp-agents-files-list)         | List an agent's files            |
| [`bird whatsapp agents files upload`](/docs/cli/reference/whatsapp-agents-files-upload)     | Upload a file to an agent        |

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