Verifies the ownership of a specified domain name.

Note The maximum number of times that each user can call this operation per second is 100.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes VerifyDomainOwner

The operation that you want to perform. Set the value to VerifyDomainOwner.

DomainName String Yes

The domain name of which you want to verify the ownership. You can specify only one domain name.

VerifyType String Yes dnsCheck

The verification method. Valid values:

  • dnsCheck: by DNS record
  • fileCheck: by verification file

Response parameters

Parameter Type Example Description
Content String verify_dffeb6610035dcb77b413a59c32c****

The verification result.

Note This parameter is returned if the operation fails. The verification result is returned if the operation succeeds.
RequestId String 34AB41F1-04A5-496F-8C8D-634BDBE6A9FB

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

  "Content": "verify_dffeb6610035dcb77b413a59c32c****",
  "RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB"

Error codes

HttpCode Error code Error message Description
400 DomainOwnerVerifyFail Owner verification of the root domain failed. The error message returned because you must prove the ownership of the domain name before you can add it to Alibaba Cloud CDN. The first time a domain name is added to Alibaba Cloud CDN, you must prove the ownership of the domain name. You can prove the ownership by adding a DNS record or upload a verification file.  

For a list of error codes, visit the API Error Center.