infomaniak_delete_mailbox
Delete a mailbox and its emails. Two-phase commit ensures confirmation before irreversible removal.
Instructions
Delete a mailbox. Two-phase commit. WARNING: this also deletes all stored emails for that mailbox.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mail_hosting_id": "<mail_hosting_id>",
"mailbox_name": "<mailbox_name>"
},
"name": "infomaniak_delete_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox_name | Yes | Local part of the mailbox WITHOUT the @domain (e.g. 'anthony' for anthony@coden.lu). NOT the full email address. Verify with infomaniak_list_mailboxes before deleting — this wipes stored mail. | |
| mail_hosting_id | Yes | Mail hosting ID. Discover via infomaniak_list_mail_hostings. | |
| confirmation_token | No | Token from the first (plan) phase. The plan response shows the mailbox + a warning that stored mail will be wiped. Re-pass to execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||