latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Greylisting
Spam Protection (Greylisting)

Return Greylisting trusted hosts

This function retrieves the entries on the Greylisting Trusted Hosts list.

get/read_cpgreylist_trusted_hosts

Response

HTTP Request was successful.

Example response

{
  "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
  }
}