Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Sieve Filters → Delete A Script

AI-generated

Summary

Delete a sieve filter

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • path_mail_hosting_id (required) — The unique identifier (ID) of the mail hosting to request.
  • path_mailbox_name (required) — The username (part before @) of the email address.
  • body_name (required) — Name of the sieve filter to delete.
  • returnFullResponse — Whether to return the full API response.

Output shape

no body — success/failure only

Returns a success indicator; when returnFullResponse is true the full response payload is returned.

Examples

Example 1: Delete a sieve filter using OAuth2

authentication: OAuth2, path_mail_hosting_id: 5, path_mailbox_name: "john.doe", body_name: "spam", returnFullResponse: false

Example 2: Delete a filter using API Key and get full response

authentication: API Key, path_mail_hosting_id: 5, path_mailbox_name: "john.doe", body_name: "spam", returnFullResponse: true

Example 3: Delete a filter with minimal required fields

path_mail_hosting_id: 5, path_mailbox_name: "john.doe", body_name: "spam"

Links

Discussion