v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
cPGreyList
Spam Filtering (Greylisting)

Disable Greylisting for specified domains

This function disables Greylisting on a cPanel account's selected domains.

get/cPGreyList/disable_domains

Query parameters

domainsstring required

The domain on which to disable Greylisting.

Note:

To disable Greylisting on multiple domains, use the domains parameter multiple times.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "disable_domains",
  "module": "cPGreyList",
  "result": {
    "data": [
      {
        "dependencies": [
          "this.com",
          "that.com",
          "theother.com"
        ],
        "domain": "example.com",
        "searchhint": "this, that, the other",
        "type": "main"
      }
    ],
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}