Obtains the proxy token for a domain name in an EIAM instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ObtainDomainProxyToken |
get |
*DomainProxyToken
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| DomainId |
string |
Yes |
The domain ID. |
dm_examplexxxxx |
| DomainProxyTokenId |
string |
Yes |
The ID of the domain name proxy token. |
pt_examplexxxx |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| DomainProxyToken |
object |
The information about the proxy token. |
|
| InstanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| DomainProxyTokenId |
string |
The ID of the domain name proxy token. |
pt_examplexxxx |
| DomainProxyToken |
string |
The domain name proxy token. |
PTxxxxxxxx |
| DomainId |
string |
The domain ID. |
dm_examplexxxx |
| Status |
string |
The status of the token. Valid values:
|
enabled |
| CreateTime |
integer |
The time when the domain name proxy token was created. This value is a UNIX timestamp. Unit: milliseconds. |
1649830226000 |
| UpdateTime |
integer |
The time when the domain name proxy token was last updated. This value is a UNIX timestamp. Unit: milliseconds. |
1649830226000 |
| LastUsedTime |
integer |
The time when the domain name proxy token was last used. This value is a UNIX timestamp. Unit: milliseconds. |
1649830226000 |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"DomainProxyToken": {
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"DomainProxyTokenId": "pt_examplexxxx",
"DomainProxyToken": "PTxxxxxxxx",
"DomainId": "dm_examplexxxx",
"Status": "enabled",
"CreateTime": 1649830226000,
"UpdateTime": 1649830226000,
"LastUsedTime": 1649830226000
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.