Generates a TXT record for domain and subdomain verification. This operation supports batch retrieval.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:GetTxtRecordForVerify |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
en |
| DomainName |
string |
No |
The domain name. The DescribeDomains operation returns a list of domain names. |
example.com |
| Type |
string |
Yes |
The purpose of the TXT record verification. Valid values:
|
ADD_SUB_DOMAIN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RR |
string |
The host record. |
aliyun****** |
| RequestId |
string |
The unique ID of the request. |
9CC0D642-49D4-48DE-A1A5-9F218652E4A7 |
| DomainName |
string |
The domain name. Note
This parameter is not returned if no value is specified for the DomainName parameter in the request. |
example.com |
| Value |
string |
The record value. Note
The value is valid for three days. |
c99419e6997f41daaa3e***** |
| ParentDomainName |
string |
The top-level domain (TLD). |
com |
Examples
Success response
JSON format
{
"RR": "aliyun******",
"RequestId": "9CC0D642-49D4-48DE-A1A5-9F218652E4A7",
"DomainName": "example.com",
"Value": "c99419e6997f41daaa3e*****",
"ParentDomainName": "com"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.