---
title: "bird email blocks update"
description: "Update a reusable email block"
canonical: "https://bird.com/docs/cli/reference/email-blocks-update"
---

# `bird email blocks update`

## Usage

```bash
bird email blocks update <block-id> [flags]
```

## Description

Update a reusable email block

Rename, describe, archive or unarchive a block, or change its source language before its first publication, sending the `revision` last read. Archiving keeps existing template links filling and refuses new ones. Change content with `bird email blocks languages set`.

Build the request from flags, a JSON EmailBlockUpdate 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.

## Examples

```bash
# print the body shape (no credentials needed)
bird email blocks update --example

# the body it prints:
```

```json
{
  "revision": 1,
  "source_language": "pt-BR"
}
```

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

#### Options

| Name                | Description                                                                                 |
| ------------------- | ------------------------------------------------------------------------------------------- |
| `--revision <n>`    | Metadata revision last read. A concurrent change returns 409. (required; or in --body-file) |
| `--name`            | New name for the block.                                                                     |
| `--description`     | Replacement maintenance notes. Send an empty string to clear them.                          |
| `--source-language` | An existing block language. It can change only before the first publication.                |
| `--archived`        | Archive or unarchive the block. Archiving retains its content and history.                  |
| `--response-schema` | Print the fields this command returns, then exit                                            |

## Related

| Name                                                                        | Description                       |
| --------------------------------------------------------------------------- | --------------------------------- |
| [`bird email blocks create`](/docs/cli/reference/email-blocks-create)       | Create a reusable email block     |
| [`bird email blocks duplicate`](/docs/cli/reference/email-blocks-duplicate) | Duplicate a reusable email block  |
| [`bird email blocks get`](/docs/cli/reference/email-blocks-get)             | Get a reusable email block        |
| [`bird email blocks list`](/docs/cli/reference/email-blocks-list)           | List reusable email blocks        |
| [`bird email blocks publish`](/docs/cli/reference/email-blocks-publish)     | Publish a reusable email block    |
| [`bird email blocks validate`](/docs/cli/reference/email-blocks-validate)   | Validate a reusable email section |

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