Delete email account's email filter

This function deletes an email filter.

Important:

When you disable the Receive Mail role, the system disables this function.

SecurityBasicAuth
Request
query Parameters
account
required
string <email>

The email address that owns the filter.

Example: account=user@example.com
filtername
required
string

The filter's name.

Example: filtername=coffee
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Email/delete_filter
Request samples
uapi --output=jsonpretty \
  --user=username \
  Email \
  delete_filter \
  account='user@example.com' \
  filtername='coffee'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "delete_filter",
  • "module": "Email",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}