Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Sieve Filters → Enable / Disable Filter

AI-generated

Summary

Enable or disable a sieve filter for a mailbox.

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 before @) of the email address
  • body_is_enabled (required) — Boolean indicating whether to enable (true) or disable (false) the filter
  • body_name (required) — Name of the sieve filter
  • returnFullResponse — If true, the full API response is returned

Output shape

a single filter object representing the updated sieve filter

May include additional metadata; error responses follow standard n8n error envelope

Examples

Example 1: Enable a filter named 'Auto-Reply' for mailbox john@example.com using OAuth2

authentication: oauth2, path_mail_hosting_id: 12, path_mailbox_name: john, body_is_enabled: true, body_name: Auto-Reply, returnFullResponse: false

Example 2: Disable a filter named 'Spam' for mailbox jane@example.com using API Key

authentication: apiKey, path_mail_hosting_id: 7, path_mailbox_name: jane, body_is_enabled: false, body_name: Spam, returnFullResponse: true

Example 3: List all sieve filters for a hosting using full response

authentication: oauth2, path_mail_hosting_id: 3, path_mailbox_name: user, body_is_enabled: false, body_name: "", returnFullResponse: true

Links

Discussion