Update Filter
updateFilterModify an existing Thunderbird mail filter's name, enabled state, conditions, or actions; restricted sending, forward, reply, and archiving changes require confirmation.
Instructions
Change an existing filter's properties, conditions or actions. Adding forward or reply actions, or changing a list that holds a sending rule (enabling or editing it included), is refused by default ("Always block"); with "Ask me each time" the call returns {status: "pending_user_confirmation", confirmationId} (follow up with listFilters, confirmation: true). Sending rules on outgoing mail, archiving or periodic runs (type 64, 128, 256) are always refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New filter name | |
| type | No | New filter type bitmask | |
| actions | No | Replace all actions (same format as createFilter) | |
| enabled | No | Enable/disable | |
| accountId | Yes | Account ID | |
| conditions | No | Replace all conditions (same format as createFilter) | |
| filterIndex | Yes | Filter index (from listFilters) |