Queries information about a specific AccessKey pair of a Resource Access Management (RAM) user in the recycle bin.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:GetAccessKeyInfoInRecycleBin |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserAccessKeyId |
string |
Yes |
The AccessKey ID of the Resource Access Management (RAM) user. |
LTAI******************* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
4507D1CD-526A-4E2B-A1E2-3AB045D1EE0B |
| AccessKey |
object |
The information about the AccessKey pair. |
|
| UserId |
string |
The ID of the RAM user. |
20732900249392**** |
| UserPrincipalName |
string |
The logon name of the RAM user. |
test@example.onaliyun.com |
| UserRecycled |
boolean |
Indicates whether the RAM user to which the AccessKey pair belongs is in the recycle bin. Valid values:
|
true |
| AccessKeyId |
string |
The AccessKey ID. |
LTAI******************* |
| CreateDate |
string |
The time when the AccessKey pair was created. |
2020-10-12T09:12:00Z |
| RecycleDate |
string |
The time when the AccessKey pair was deleted and moved to the recycle bin. |
2020-10-12T10:12:00Z |
| DeleteDate |
string |
The time when the AccessKey pair will be permanently deleted from the recycle bin. |
2020-11-12T10:12:00Z |
Examples
Success response
JSON format
{
"RequestId": "4507D1CD-526A-4E2B-A1E2-3AB045D1EE0B",
"AccessKey": {
"UserId": "20732900249392****",
"UserPrincipalName": "test@example.onaliyun.com",
"UserRecycled": true,
"AccessKeyId": "LTAI*******************",
"CreateDate": "2020-10-12T09:12:00Z",
"RecycleDate": "2020-10-12T10:12:00Z",
"DeleteDate": "2020-11-12T10:12:00Z"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.