Skip to content

Mailbox.retire

POST /{namespace}/mailboxes/{mailbox}/retire

Retire stops a Mailbox for good and keeps its address, Messages and sending history.

Mode
do
Event
Mailbox.retired

Inputs

InputTypeRequiredDescription
mailboxMailboxrequiredThe Mailbox to retire.

Outputs

OutputTypeRequiredDescription
mailboxMailboxrequiredThe retired Mailbox.

Effects

  • Emits Mailbox.retired.
  • Performed by the Customer Lead.
  • One-way: it waits out its delay window, and runs in the send and do modes.
  • Routes new mail to the Mailbox of the Role it served.

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.Mailbox.retire

When it waits

GateDefault
Decision classMedium: one-way, bounded
Delay window1 business hour, in which a watcher can pause, redirect or cancel it; then it runs.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.