Bulk delete attachments
attachments.delete_bulkDelete several attachments of one email at once.
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": {
"mailboxId": "<mailboxId>",
"mailId": "<mailId>",
"ids": "<ids>"
},
"name": "attachments.delete_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Attachment IDs to delete | |
| mailId | Yes | Mail ID | |
| mailboxId | Yes | Mailbox ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| http_status | Yes | HTTP status of the API response |