GetDomainDnsChallenge
Queries the DNS challenge records of a specified EIAM domain name. The generated records are used to verify the ownership of the domain name.
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 DNS challenge name. |
_idaas-challenge.login.example.com |
| DnsType |
string |
The DNS record type. |
txt |
| DnsChallengeValue |
string |
The DNS challenge value. |
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.