This function deletes a domain-level forwarder.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ delete_domain_forwarder \ domain='example.com'
{- "apiversion": 3,
- "func": "delete_domain_forwarder",
- "module": "Email",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}