Sign inGet Started

bird email blocks update

Usage

Exemple de code
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

Exemple de code
# print the body shape (no credentials needed)
bird email blocks update --example

# the body it prints:
Exemple de code
{
  "revision": 1,
  "source_language": "pt-BR"
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--revision <n>Metadata revision last read. A concurrent change returns 409. (required; or in --body-file)
--nameNew name for the block.
--descriptionReplacement maintenance notes. Send an empty string to clear them.
--source-languageAn existing block language. It can change only before the first publication.
--archivedArchive or unarchive the block. Archiving retains its content and history.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email blocks createCreate a reusable email block
bird email blocks duplicateDuplicate a reusable email block
bird email blocks getGet a reusable email block
bird email blocks listList reusable email blocks
bird email blocks publishPublish a reusable email block
bird email blocks validateValidate a reusable email section

Poursuivez avec la documentation, les guides et les exemples sur ce sujet.