This function unblocks IP addresses from accessing domains on a cPanel account.
Important
When you disable the Web Server role, the system disables this function.
ip required | string The IP address or IP address range that you wish to unblock. ip ip ip ip ip ip ip ip ip |
HTTP Request was successful.
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --output=jsonpretty \ --user=username \ BlockIP \ remove_ip \ ip='192.168.0.1/16'
{- "apiversion": 3,
- "func": "remove_ip",
- "module": "BlockIP",
- "result": {
- "data": [
- "1.1.1.1"
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}