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.
Parameter
mailbox_id
string
Mailbox identifier. Starts with mbx_.
Verwandte Ressourcen
Weiter mit der Dokumentation, Anleitungen und Beispielen zu diesem Thema. Die Ressourcen sind auf Englisch.
Anleitung ansehenSetting up your coding agentDas Konzept verstehenWhat is an MCP server, and how does an agent use one to send messages?Die Funktion erkundenCoding agentsDem Lernpfad folgenBuild with AI agents
Implementierungs-Briefing erhalten