Introduction
How to unblock/remove an IP address in cPHulk via the command line.
Procedure
This function removes specific login history entries from the cPHulk database. Use this function to unblock one or more IP addresses.
whmapi1 flush_cphulk_login_history_for_ips ip='192.168.0.1'
Replace the IP address 192.168.0.1 with the IP address that you wish to unblock.
Reference: https://api.docs.cpanel.net/openapi/whm/operation/flush_cphulk_login_history_for_ips/.