Delete a filter
DELETE/api/accounts/:accountId/sieve/filters/:filterId
Deletes one filter, so it no longer applies to incoming mail. The Sieve script is rewritten and activated without it; the other filters, the vacation reply and forwarding are kept.
Messages the filter already moved stay where they are.
Request
Responses
- 204
- 401
- 404
- 424
Deleted.
The session has no mailbox access token. code is mail_token_missing; sign in again.
The account or the filter does not exist.
The IMAP, SMTP or Sieve server, or the platform, refused the request or could not be reached.