Help Center/ Cloud Certificate Manager/ API Reference/ Historical APIs/ SCM APIs/ Querying Domain Name Verification Information
Updated on 2023-10-11 GMT+08:00

Querying Domain Name Verification Information

Function

This API is used to query domain name verification details.

URI

  • URI format

    GET /v2/{project_id}/scm/cert/{cert_id}/domain-verify

  • Parameters

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID.

    cert_id

    Yes

    String

    Certificate ID.

Request

Request parameters

None.

Response

Response parameters

Parameter

Mandatory

Type

Description

domain_name

Yes

String

Domain name for ownership verification.

domain_email

Yes

String

Email address used for domain name verification.

record_name

Yes

String

Host record

record_value

Yes

String

DNS record

record_type

Yes

String

Record type

domain_method

Yes

String

Verification method

applicant_email

Yes

String

Email of the applicant.

auto_dns_auth

Yes

boolean

Whether the domain name ownership is verified in an automated manner.

Example

{
 "domain_name": "huawei.com",
  "domain_email": null,
  "record_name": "_dnsauth. huawei.com",
  "record_value": "202305150000002aurxma1tun2fgzz0jbs9h5lsekf8gloq57mbs78m9jist465m",
  "record_type": "TXT",
  "domain_method": "DNS",
  "applicant_email": "huawei@huawei.com",
  "auto_dns_auth": true
}

Status Code

Table 1 lists the normal status code returned by the API.

Table 1 Status code

Status Code

Code

Description

200

OK

Request processed successfully.

For details about error codes, see Error Codes