Add Support IP addresses to firewall

This function adds cPanel Support's IP addresses to your server's firewall whitelist. This function is firewall-specific and does not change the cPHulk whitelist.

Note:

  • This function is not available through the command line. You must call it as a request body.
  • This function logs error messages to the /usr/local/cpanel/logs/error_log file.
SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/ticket_whitelist_setup
Request samples
https://hostname.example.com:2087/cpsess##########/json-api/ticket_whitelist_setup?api.version=1
Response samples
application/json
{
  • "data": {
    • "chain_status": "ACTIVE"
    },
  • "metadata": {
    • "command": "ticket_whitelist_setup",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}