Modifying AK/SK Attributes (V2)
Function
This API is used to modify AK/SK attributes.
URI
POST /v2/systemmng/access-ak-sk/update-ak-sk
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
id |
Yes |
Integer |
AK/SK ID. |
|
descp |
No |
String |
AK/SK description. |
|
status |
No |
String |
AK/SK status. Options: enable and disable. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
Account ID. |
|
name |
String |
Account name. |
Example Requests
Update the information about the AK/SK whose ID is 2076.
/v2/systemmng/access-ak-sk/update-ak-sk
{
"id" : 2076,
"descp" : "test222"
}
Example Responses
Status code: 200
OK: The request is successful.
{
"id" : 2076
}
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