Obtaining the AK/SK List (V2)
Function
This API is used to obtain the AK/SK list.
URI
GET /v2/systemmng/access-ak-sk/get-ak-sk-list
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
access_ak_sk_models |
Array of AccessAkskVO objects |
AK/SK model information. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Integer |
AK/SK ID. |
|
gmt_create |
String |
Time when the AK/SK was generated. |
|
gmt_modify |
String |
Time when the AK/SK was modified. |
|
inner_domain_id |
Integer |
Internal tenant ID. |
|
ak |
String |
Generated AK. |
|
sk |
String |
Generated SK. |
|
status |
String |
AK/SK status. |
|
descp |
String |
AK/SK description. |
|
gmt_create_timestamp |
Integer |
Time when the AK/SK was generated. |
|
gmt_modify_timestamp |
Integer |
Time when the AK/SK was modified. |
Example Requests
Obtain the AK/SK list.
/v2/systemmng/access-ak-sk/get-ak-sk-list
Example Responses
Status code: 200
OK: The request is successful.
{
"access_ak_sk_models" : [ {
"ak" : "xxxx",
"sk" : "xxxx",
"status" : "enable",
"descp" : "321",
"id" : 1844,
"gmt_create" : "2024-10-14 15:01:09",
"gmt_modify" : "2024-10-26 11:01:38",
"gmt_create_timestamp" : 1728889269000,
"gmt_modify_timestamp" : 1729911698000,
"inner_domain_id" : 10
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK: The request is successful. |
|
400 |
Bad Request: Semantic or parameter error. |
|
401 |
Unauthorized: No permissions. |
|
403 |
Forbidden: Access forbidden. |
|
404 |
Not Found: The requested resource is not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot