v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
DCV
Verify Domain Ownership

Verify domain ownership

This function indicates whether the account's domains can pass a Domain Control Validation (DCV) check.

Warning:

We deprecated this function. Use UAPI's DCV::check_domains_via_http function.

get/DCV/ensure_domains_can_pass_dcv

Query parameters

domainstring required

The domains to check.

Note:

To check multiple domains, duplicate or increment the parameter name. For example, domain-1, domain-2, and domain-3.

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": "ensure_domains_can_pass_dcv",
  "module": "DCV",
  "result": {
    "data": [
      null,
      null,
      "The domain resolves to Mars. Beep beep beep."
    ],
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}