This function deletes a record or records from cPHulk's whitelist or blacklist.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ delete_cphulk_record \ list_name='white' \ ip='192.168.0.1'
{- "data": {
- "ips_failed": {
- "192.168.0.1": "This is why, alpha.",
- "192.168.9.1": "This is why, beta."
}, - "ips_removed": [
- "192.168.0.1"
], - "list_name": "white",
- "requester_ip": "192.168.0.1",
- "requester_ip_is_whitelisted": 1
}, - "metadata": {
- "command": "delete_cphulk_record",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}