This function retrieves the entries on the Greylisting Trusted Hosts list.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ read_cpgreylist_trusted_hosts
{- "data": {
- "greylist_trusted_hosts": [
- {
- "comment": "Example",
- "create_time": "2015-03-24T10:22:38.000Z",
- "host_ip": "192.0.2.0",
- "id": 19
}
]
}, - "metadata": {
- "command": "read_cpgreylist_trusted_hosts",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}