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.
domain required | string The domains to check. Note: To check multiple domains, duplicate or increment the parameter name. For example,
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 |
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --user=username DCV ensure_domains_can_pass_dcv domain='example.com'
{- "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
}
}