Skip to content

Mailbox commands: update

The Mailbox Verbs update as CLI commands, with inputs, result, refusals and an example.

Reference for Mailbox, one group of Mailbox commands.

Mailbox.update

Changes the given properties of a Mailbox. Verb page.

Text
npx startup-builder do Mailbox.update --json '<input>' [--try | --send | --do]

Emits Mailbox.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Mailbox.
mediumstringThe platform type, such as email, sms, or chat.
organizationOrganizationThe outside Organization the Channel is shared with; its new Messages open Conversations for that Customer.
externalbooleanTrue when people from another Organization post in it, as in a channel two companies share.
areaCodestringFor an sms Channel, the phone area code its number is drawn from, such as 512.
numberstringFor an sms Channel, its phone number in international form, assigned when it is created.
addressemailThe email address.
streamstringWhat it sends: receipts and resets, broadcasts, or cold outbound; one stream per Mailbox.
tenantTenantThe Tenant it sends for, at a Domain that Tenant’s Customer holds; replies land in the Tenant’s Threads.

Returns

OutputTypeRequiredDescription
mailboxMailboxrequiredThe Mailbox.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do Mailbox.update --json '{"id":"mailbox_93HvOnR17L","address":"dana@leaseline.app"}'