This function removes specific login history entries from the cPHulk database. Use this function to unblock one or more IP addresses.
required | Array of strings or strings The record's IP address. Note: To unblock multiple IP addresses, increment the parameter name (for example, to unblock three IP addresses, use the Multiple IPv4 addresses. ip=192.168.0.1&ip=192.168.0.2&ip=192.168.0.3ip=2001:db8::1&ip=2002:db8::1&ip=2003:db8::1 A single IPv4 address. ip=192.168.0.1ip=2001:db8::1 |
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ flush_cphulk_login_history_for_ips \ ip='192.168.0.1'
{- "data": {
- "iptable_bans_removed": 1,
- "records_removed": 1
}, - "metadata": {
- "command": "flush_cphulk_login_history_for_ips",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}