Reorder filters
PUT/api/accounts/:accountId/sieve/filters/reorder
Changes the order in which filters run and returns the filters in their new order. orderedIds must list every existing filter ID exactly once, otherwise the call returns 400.
The Sieve script is rewritten and activated. Filters with spam or delete actions still run before all others, so the new order only applies within those two groups.
Request
Responses
- 200
- 400
- 401
- 404
- 424
Filters in the new order.
Request failed.
The session has no mailbox access token. code is mail_token_missing; sign in again.
The account does not exist or belongs to another user.
The IMAP, SMTP or Sieve server, or the platform, refused the request or could not be reached.