Return Greylisting trust status of server netblock

This function returns the Greylisting trusted status of the server's netblock.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/cpgreylist_is_server_netblock_trusted
Request samples
whmapi1 --output=jsonpretty \
  cpgreylist_is_server_netblock_trusted
Response samples
application/json
{
  • "data": {
    • "ip_blocks": {
      • "10.0.0.0-10.255.255.255": 1,
      • "199.0.0.0-199.3.255.255": 1,
      • "48.0.0.0-48.255.255.255": 1
      }
    },
  • "metadata": {
    • "command": "cpgreylist_is_server_netblock_trusted",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}