DescribeDomainVerifyData
Retrieves the verification content for an accelerated domain name. The returned content depends on whether the global resource plan is enabled for the domain.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeDomainVerifyData |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name. You can query only one domain name at a time. |
www.yourdomain.com |
| GlobalResourcePlan |
string |
No |
Specifies whether the global resource plan is enabled. Valid values:
Valid values:
|
off |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
F61CDR30-E83C-4FDA-BF73-9A94CDD44229 |
| Content |
object |
The verification content. |
{ "verifiCode": "uy0-DxxxxxxxxKl-JnJY4", "verifyKey": "_acxxxe-xxxx" } |
| verifyCode |
string |
The value of the verification TXT record. |
verify_2bc6e4836c9f6072869de1c5a269ef09 |
| verifyKey |
string |
The subdomain for the TXT record. |
verification |
| RootDomain |
string |
The root domain of the specified domain. Valid values:
|
example.com |
Examples
Success response
JSON format
{
"RequestId": "F61CDR30-E83C-4FDA-BF73-9A94CDD44229",
"Content": {
"verifyCode": "verify_2bc6e4836c9f6072869de1c5a269ef09",
"verifyKey": "verification",
"RootDomain": "example.com"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.