delete_label
Remove a Proton label permanently without affecting its messages. Messages stay in other folders or labels, making cleanup safe for content but irreversible for the label.
Instructions
Delete a Proton label (IMAP folder under Labels/ namespace). Deletes the label itself, not the messages — they remain in their other folders/labels. Irreversible. For deleting a folder use delete_folder with a Folders/ prefix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label name to delete. The Labels/ prefix is optional and will be added automatically. | |
| confirmed | No | Pass true to confirm permanent deletion of the label. Required when PROTONMAIL_CONFIRM_DESTRUCTIVE is enabled. |