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.
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
}
}