Delete a folder
folder_deleteDelete a folder, its subfolders, and all messages. The folder moves to Trash unless already in it, where it is permanently removed. Preview contents with folder_get first.
Instructions
Delete a folder, its subfolders and every message in them.
Thunderbird moves the folder to Trash unless it is already inside Trash, in
which case it goes for good. Check folder_get first if the count matters —
the reply reports what was removed, but cannot put it back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| folder_id | Yes | ||
| dry_run_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||