This function deletes an IP address from the Greylisting Trusted Hosts list.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ delete_cpgreylist_trusted_host \ ip='192.168.0.1'
{- "data": {
- "ips_failed": {
- "5.5": "Invalid IP address or range: “5.5”"
}, - "ips_removed": [
- "192.168.0.1",
- "2001:db8::1"
]
}, - "metadata": {
- "command": "delete_cpgreylist_trusted_host",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}