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.
uapi --output=jsonpretty \ --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
}
}