Return Greylisting trust status of server netblock

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

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  cpgreylist_is_server_netblock_trusted

Response samples

Content type
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
    }
}