delete_label
Delete a Proton label permanently. Removes the label from your account while keeping messages in other folders. Irreversible; requires confirmation when enabled.
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. |