infomaniak_unauthorize_sender
Remove an authorized sender from a mailbox using a two-phase commit. First call returns a confirmation token; apply with it only if sender lists haven't changed.
Instructions
Remove this authorized sender. Two-phase commit: first call returns the current-state diff and confirmation token, second call with the token applies the PATCH if the mailbox sender lists have not changed.
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>",
"sender": "<sender>"
},
"name": "infomaniak_unauthorize_sender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Email address or sender pattern accepted by Infomaniak. | |
| mailbox_name | Yes | Local part of the mailbox (the part before @, e.g. 'info' for info@example.com). NOT the full email address. | |
| mail_hosting_id | Yes | Mail hosting ID. Discover via infomaniak_list_mail_hostings. | |
| confirmation_token | No | Token returned by the prior plan response. Required on the apply phase. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||