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 Script
AI-generatedSummary
Updates a Sieve filter script for a specified mailbox under a given hosting.
Inputs
- authentication (required) — Authentication method (OAuth2 or API Key).
- path_mail_hosting_id (required) — ID of the mail hosting containing the mailbox.
- path_mailbox_name (required) — Username part of the email address of the mailbox.
- body_content (required) — Content defining the sieve script.
- body_is_enabled (required) — Whether the script is enabled.
- body_name (required) — Name of the script.
- body_old_name (required) — Current name of the script to identify which script to update.
- returnFullResponse — If true, the full API response is returned; otherwise only success/failure.
Output shape
An object indicating the update result, possibly containing the updated script details.
When returnFullResponse is true the full response is returned; otherwise the operation returns a success/failure indicator.
Examples
Example 1: Update a sieve filter script for user john.doe using API Key
authentication=apiKey; path_mail_hosting_id=123; path_mailbox_name=john.doe; body_content=...; body_is_enabled=true; body_name=SpamFilter; body_old_name=SpamFilterOld; returnFullResponse=false