Skip to main content

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​

Filters in the new order.