This function removes a domain's manual Exim mail exchanger (MX) redirect entry. The function also removes the manual MX redirect entry from the /etc/manualmx file.
Note:
To set a domain's manual MX redirection, use the WHM API 1 set_manual_mx_redirects function.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ unset_manual_mx_redirects \ domain='example.com'
{- "data": {
- "payload": {
- "example.com": "mailhostexample.com",
- "example.org": null
}
}, - "metadata": {
- "command": "unset_manual_mx_redirects",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}