This function returns the Greylisting trusted status of the server's netblock.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ cpgreylist_is_server_netblock_trusted
{- "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
}
}