Verify domain ownershipDeprecated

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.

SecurityBasicAuth
Request
query Parameters
domain
required
string

The domains to check.

Note:

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

Examples:
domain=domain-1=example1.com domain-2=example2.com domain-3=example3.com
domain=domain=example1.com domain=example2.com domain=example3.com
domain=example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/DCV/ensure_domains_can_pass_dcv
Request samples
uapi --output=jsonpretty \
  --user=username \
  DCV \
  ensure_domains_can_pass_dcv \
  domain='example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "ensure_domains_can_pass_dcv",
  • "module": "DCV",
  • "result": {
    • "data": [
      • null,
      • null,
      • "The domain resolves to Mars. Beep beep beep."
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}