This function deletes an email filter.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ delete_filter \ account='user@example.com' \ filtername='coffee'
{- "apiversion": 3,
- "func": "delete_filter",
- "module": "Email",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}