cPGreyList
Spam Filtering (Greylisting)
Enable Greylisting for specified domains
This function enables Greylisting on a cPanel account's selected domains.
get/cPGreyList/enable_domains
Query parameters
domainsstring required
The domain on which to enable Greylisting.
Note:
To enable Greylisting on multiple domains, use the domains parameter multiple times.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "enable_domains",
"module": "cPGreyList",
"result": {
"data": [
{
"dependencies": [
"example.com",
"example1.com",
"example2.com"
],
"domain": "example.com",
"searchhint": "example, example1, example2",
"type": "main"
}
],
"metadata": {
"transformed": 1
},
"status": 1
}
}