Update workspace mailbox
Changes the localpart of the workspace outbound mailbox, the address all agents send from, renaming both the workspace setting and its system endpoint together. Admin only. The localpart must be lowercase alphanumerics with ’.’ or ’-’ separators (max 63 chars) and is rejected if it is reserved or already used by a custom inbox; the mailbox never auto-replies and that behavior is not configurable here.
Authorizations
Personal Access Token. Send as Authorization: Bearer hq_pat_....
Body
PATCH the workspace outbound mailbox: change its localpart (the address all
agents send from). The localpart edit renames tenants.outbound_mailbox_localpart
AND the system endpoint's localpart in one transaction.
The workspace mailbox is fire-and-notify ONLY: it never auto-replies. A
reply to it always files to the Review queue + notifies the initiator, so
reply_policy is fixed to never_reply and is NOT configurable here (an
address that answers mail is a custom inbox, created via create_endpoint).
The only knob is the address.
Court-document intake on/off for the team mailbox (the address court secure-mail typically lands on). Omitted = keep current. See docs/court-document-intake.md.
Secure-mail password for the court portal. WRITE-ONLY: vault-sealed when non-empty, never echoed back. Omitted/empty = keep the stored password.
Response
Workspace mailbox localpart updated