Creates an application token.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:CreateApplicationToken |
create |
*ApplicationToken
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ApplicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| ApplicationTokenType |
string |
Yes |
The application token type. |
bearer_token |
| ExpirationTime |
integer |
No |
The expiration time. |
1735530123762 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| ApplicationTokens |
object |
The application token. |
|
| ApplicationTokenId |
string |
The application token ID. |
token_ndfxxigahelfne2y2hodehrxxxx |
| ApplicationToken |
string |
The application token. |
SATFwqX8zxGf83pJcJw78KFGjmrft4erWeZYBGS8oE7NN6qoE217yaJpUdMb1UuuGqhDiF43sCA4CF91CTL5iGntqwyLuaAcS9FJ9HfGadE5a7TjiwVafwrBYkt3XXX |
| ApplicationTokenType |
string |
The application token type. |
bearer_token |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"ApplicationTokens": {
"ApplicationTokenId": "token_ndfxxigahelfne2y2hodehrxxxx",
"ApplicationToken": "SATFwqX8zxGf83pJcJw78KFGjmrft4erWeZYBGS8oE7NN6qoE217yaJpUdMb1UuuGqhDiF43sCA4CF91CTL5iGntqwyLuaAcS9FJ9HfGadE5a7TjiwVafwrBYkt3XXX",
"ApplicationTokenType": "bearer_token"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.