Return domain DCV issues

This function returns a list of objects that contains the latest Domain Control Validation (DCV) problems for a specific domain.

Authorizations:
query Parameters
domain
required
string <domain>

The domain for which to poll the DCV status.

Example: domain=example.com

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  get_autossl_problems_for_domain \
  domain='example.com'

Response samples

Content type
application/json
{
  • "data": {
    • "problems_by_domain": [
      • {
        • "domain": "example.tld",
        • "log": "2017-08-19T13:41:04.000Z",
        • "problem": "The domain does not resolve to any IPv4 addresses on the internet.",
        • "time": "2017-08-19T13:41:04.000Z"
        }
      ]
    },
  • "metadata": {
    • "command": "get_autossl_problems_for_domain",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}