Queries the DNS Challenge record for a specified EIAM domain name. This record is used to verify domain ownership.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:GetDomainDnsChallenge |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| Domain |
string |
Yes |
The domain name. |
dm_examplexxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| DomainDnsChallenge |
object |
The DNS Challenge record. |
|
| DnsChallengeName |
string |
The name of the DNS Challenge. |
_idaas-challenge.login.example.com |
| DnsType |
string |
The type of the DNS record. |
枚举,目前只支持TXT类型 |
| DnsChallengeValue |
string |
The value of the DNS Challenge. |
yriov8FD/rIGjQTU3/JjqkwxRbo5dyGftHWOtP5xfCI= |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"DomainDnsChallenge": {
"DnsChallengeName": "_idaas-challenge.login.example.com",
"DnsType": "枚举,目前只支持TXT类型",
"DnsChallengeValue": "yriov8FD/rIGjQTU3/JjqkwxRbo5dyGftHWOtP5xfCI="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.