Lists the AccessKey IDs for attached multicloud accounts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListAccountAccessId |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CloudCode |
string |
Yes |
The code for the multicloud environment. |
hcloud |
| RegionId |
string |
No |
The region of the Data Management center for threat analysis. Select the region of the Management Center based on where your assets are located. Valid values:
|
cn-hangzhou |
| RoleFor |
integer |
No |
The user ID of a member. This parameter allows an administrator to switch to the member's view. |
113091674488**** |
| RoleType |
integer |
No |
The type of view. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
CloudSiemSuccessResponse<List |
||
| Data |
array<object> |
The data returned. |
|
|
object |
The data returned. |
||
| SubUserId |
integer |
The ID of the Alibaba Cloud account that corresponds to the multicloud AccessKey ID. |
ABCXXXXXXXX |
| AccessIdMd5 |
string |
The MD5 value of the multicloud AccessKey ID. |
abcXXXXXXXX |
| AccountStr |
string |
The information of the account to which the multicloud AccessKey ID belongs. The format is: Alibaba Cloud account ID|Alibaba Cloud account name|Multicloud AccessKey ID. |
123xxxxxx|xxxx|ABCXXXXX |
| Bound |
integer |
Indicates whether the AccessKey ID is attached to threat analysis. Valid values:
|
1 |
| AccessId |
string |
The attached AccessKey ID. |
ABCXXXXXXXX |
| AccountId |
string |
The ID of the Alibaba Cloud account. |
123xxxxxxx |
| CloudCode |
string |
The code for the multicloud environment. |
hcloud |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
integer |
The HTTP status code. |
200 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The ID of the request. |
6276D891-*****-55B2-87B9-74D413F7**** |
Examples
Success response
JSON format
{
"Data": [
{
"SubUserId": 0,
"AccessIdMd5": "abcXXXXXXXX",
"AccountStr": "123xxxxxx|xxxx|ABCXXXXX",
"Bound": 1,
"AccessId": "ABCXXXXXXXX",
"AccountId": "123xxxxxxx",
"CloudCode": "hcloud"
}
],
"Success": true,
"Code": 200,
"Message": "success",
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.