Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Service Mail > Filters Models → Delete A Filter Model

AI-generated

Summary

Delete a mail hosting filter model.

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • path_mail_hosting_id (required) — Mail Hosting Id (path parameter)
  • path_filter_id (required) — Filter Id (path parameter)
  • body_mail_hosting_id (required) — ServiceMail identifier (body parameter)
  • body_filter_id (required) — Sieve filter identifier (body parameter)
  • returnFullResponse — If true, returns the full response body; otherwise a simplified response

Output shape

object (deletion confirmation) or no body

Success typically returns a 204 No Content response; errors return appropriate HTTP status codes.

Examples

Example 1: Delete a filter using OAuth2 authentication

authentication: OAuth2; path_mail_hosting_id: 123; path_filter_id: 456; body_mail_hosting_id: 123; body_filter_id: 456; returnFullResponse: false

Links

Discussion