Delete a mailbox
DELETE
/v1/email/mailboxes/{mailbox_id}
await bird.email.mailboxes.delete("mbx_01abc");client.email.mailboxes.delete("mbx_01krdgeqcxet5s7t44vh8rt9mg")if err := client.Email.Mailboxes.Delete(context.Background(), "mbx_123"); err != nil {
log.Fatal(err)
}$bird->email->mailboxes->delete('mbx_01krdgeqcxet5s7t44vh8rt9mg');bird email mailboxes delete <mailbox-id> --yescurl -X DELETE "https://us1.platform.bird.com/v1/email/mailboxes/{mailbox_id}" \
-H "Authorization: Bearer $TOKEN"Deletes a mailbox. The address stops receiving mail immediately and enters quarantine. After 30 days, your workspace can bind the address to a new mailbox; the address remains reserved to your workspace. You can restore the mailbox for 30 days with POST /email/mailboxes/{mailbox_id}/restore. Normal message-retention expiry continues during that period. After 30 days, the mailbox and its remaining messages are permanently deleted. Returns 409 (E01028) if an enabled inbound route targets the mailbox. Disable, delete, or redirect those routes before retrying.
Paramètres
mailbox_id
string
Mailbox identifier. Starts with mbx_.
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet. Les ressources sont en anglais.
Regarder le guideSetting up your coding agentComprendre le conceptWhat is an MCP server, and how does an agent use one to send messages?Explorer la fonctionnalitéCoding agentsSuivre le parcours d'apprentissageBuild with AI agents
Obtenir un guide d'implémentation