Proves the ownership of a specified domain name.

Debugging

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 VerifyDcdnDomainOwner

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

DomainName String Yes **example**.com

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

VerifyType String Yes dnsCheck

The method that you want to use to prove the ownership of the specified domain name. Default value: dnsCheck.

Response parameters

Parameter Type Example Description
Content String verify_dffeb6610035dcb77b413a59c32cd9**

The verification content.

RequestId String 34AB41F1-04A5-496F-8C8D-634BDBE6A9FB

The ID of the request.

Examples

Sample requests

http(s)://dcdn.aliyuncs.com/? Action=VerifyDcdnDomainOwner
&DomainName=**example**.com
&VerifyType=dnsCheck
&<Common request parameters>

Sample success responses

XML format

<VerifyDcdnDomainOwnerResponse>
  <Content>verify_dffeb6610035dcb77b413a59c32cd91f</Content>
  <RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>
</VerifyDcdnDomainOwnerResponse>

JSON format

{
  "Content": "verify_dffeb6610035dcb77b413a59c32cd9**",
  "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 have not proven your ownership of the specified domain name. Beginning June 12, 2020, when you add a new domain name to Dynamic Route for CDN (DCDN), you must prove that you are the owner of the domain name. Before you call the AddDcdnDomain operation, you must add a DNS record or upload a valid verification file to prove your ownership of the specified domain name. For more information about how to prove your ownership of a domain name, see Verify the ownership of a domain name.

International site: https://www.alibabacloud.com/help/doc-detail/183491.htm

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