latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

cPHulk
Management

Remove login security IP address block

This function removes specific login history entries from the cPHulk database. Use this function to unblock one or more IP addresses.

get/flush_cphulk_login_history_for_ips

Query parameters

The record's IP address.

Note:

To unblock multiple IP addresses, increment the parameter name (for example, to unblock three IP addresses, use the ip-1, ip-2, and ip-3 parameters).

Response

HTTP Request was successful.

Example response

{
  "data": {
    "iptable_bans_removed": 1,
    "records_removed": 1
  },
  "metadata": {
    "command": "flush_cphulk_login_history_for_ips",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}