Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Sieve Filters → Delete A Filter

AI-generated

Summary

Delete a sieve filter from a specified mailbox on a mail hosting

Inputs

  • authentication — Authentication method to use for the request (OAuth2 or API Key)
  • path_mail_hosting_id (required) — Unique identifier of the mail hosting containing the mailbox
  • path_mailbox_name (required) — Username (part before @) of the email address of the mailbox
  • body_name (required) — Name of the sieve filter to delete
  • returnFullResponse — Whether to return the full response body; defaults to false

Output shape

no body — success/failure only

HTTP 200/204 indicates success; error details are returned on failure; no payload on success

Examples

Example 1: Delete a filter named 'spam' for user@example.com on hosting ID 5 using API Key authentication

{"authentication":"apiKey","path_mail_hosting_id":5,"path_mailbox_name":"user@example.com","body_name":"spam","returnFullResponse":false}

Links

Discussion