Actions118
- Mailbox Management Actions
- Mailboxes Actions
- Mailboxes > Accesses > Devices Actions
- Mailboxes > Accesses > Invitations Actions
- Mailboxes > Accesses > Webmail Actions
- List User Access And Invitations
- Create Webmail Access
- Set The Primary Mailbox For The Authenticated User
- List Users Having Access
- List Of User Accesses For The Current User
- List Of User Accesses For A Account And A User
- Update Webmail Access
- Delete Webmail Access
- Delete Access To A Mailbox For The Current User
- Mailboxes > Aliases Actions
- Mailboxes > Auto Reply Actions
- Mailboxes > Folders Actions
- Mailboxes > Forwarding Actions
- Mailboxes > Sieve Filters Actions
- Mailboxes > Signatures Actions
- Mailboxes > Users Actions
- Mailing List Actions
- Mailing List > Subscribers Actions
- Service Mail > Auto Reply Actions
- Service Mail > Bimi Actions
- Service Mail > Filters Models Actions
- Service Mail > Preferences Actions
- Service Mail > Redirections Actions
- Service Mail > Redirections > Target Actions
- Service Mail > Signatures Templates Actions
Mailboxes > Sieve Filters → Update A Filter
AI-generatedSummary
Update an existing Sieve filter by modifying its properties such as name, conditions, actions, and enablement.
Inputs
- authentication — Authentication method to use (OAuth2 or API Key).
- path_mail_hosting_id (required) — Unique identifier of the mail hosting.
- path_mailbox_name (required) — Username part of the email address for the mailbox.
- body_actions (required) — Action to execute when the filter matches.
- body_conditions (required) — Condition that must be met for the filter to trigger.
- body_has_all_of (required) — Whether all conditions must be satisfied (true) or any one suffices (false).
- body_is_enabled (required) — Whether the filter is enabled after update.
- body_name (required) — Display name of the filter.
- body_old_name (required) — Current name of the filter to identify it for update.
- bodyParameters (required) — Additional parameters to include in the request body.
- returnFullResponse — Whether to return the full API response.
Output shape
a single updated filter object
Returns the updated filter; if returnFullResponse is true, the full API response is included; otherwise only a success status.
Examples
Example 1: Create a new filter to catch promotional emails
Authentication: OAuth2; Mail Hosting Id: 3; Mailbox Name: marketing; Body: name 'Promo Filter', conditions {subject contains 'promo'}, actions {move to 'Promotions'}, is_enabled true.
Example 2: Enable an existing filter and change its name
Authentication: API Key; Mail Hosting Id: 7; Mailbox Name: john; Body: old_name 'Travel', name 'Travel Updates', is_enabled true.