Documentation
Sign inGet started

bird email mailboxes update

Usage

Exemple de code
bird email mailboxes update <mailbox-id> [flags]

Description

Update a mailbox
Update the display name, reply-to, receive policy, retention, or metadata on a mailbox. Omitted fields are left unchanged. To clear a nullable field (display-name, default-reply-to), use curl or the API directly: PATCH /v1/email/mailboxes/{id} with {"field":null}. The CLI cannot send an explicit null — flags omit the field rather than nulling it.
Build the request from flags, a JSON MailboxUpdate 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 mailboxes update --example

Options

Address

NameDescription
--display-nameSender display name on outgoing mail.
--default-reply-toDefault Reply-To address on outgoing mail.

Behaviour

NameDescription
--receive-policyWhich inbound mail to accept: open, replies_only, allowlist, or drop.
--retention-tierHow long to remember messages: 30d.
--confirmRequired when lowering retention-tier, acknowledging that older messages will be deleted.

Metadata

NameDescription
--metadataArbitrary JSON metadata object (up to 2 KB); replaces existing metadata entirely.

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
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email mailboxes composeSend a new message from a mailbox
bird email mailboxes createCreate a mailbox
bird email mailboxes deleteDelete a mailbox
bird email mailboxes getGet a mailbox
bird email mailboxes labelsList a mailbox's labels
bird email mailboxes listList mailboxes
bird email mailboxes restoreRestore a deleted mailbox
bird email mailboxes resumeResume a suspended mailbox
bird email mailboxes statsMailbox email statistics