Return Greylisting status

This function returns the status of Greylisting.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/cpgreylist_status
Request samples
whmapi1 --output=jsonpretty \
  cpgreylist_status
Response samples
application/json
{
  • "data": {
    • "is_enabled": 1,
    • "is_exim_enabled": 1,
    • "service": "cPGreyList"
    },
  • "metadata": {
    • "command": "cpgreylist_status",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}