Modifying a Cloud Vendor Account
Function
This API is used to modify the account information of all cloud vendors (such as Alibaba Cloud, AWS, Azure, and Huawei Cloud Stack).
URI
PUT /v1/vendor-account/{id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
id |
Yes |
String |
Definition Unique ID. Constraints N/A Range N/A Default value N/A |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
account_name |
No |
String |
Definition Account name Constraints N/A Range The value is a string. It contains 0 to 64 characters. Default value N/A |
|
ak |
No |
String |
Definition Access key ID. Constraints N/A Range The value is a string. It contains 0 to 64 characters. Default value N/A |
|
sk |
No |
String |
Definition Access key password. Constraints N/A Range The value is a string. It contains 0 to 64 characters. Default value N/A |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
data |
String |
Definition UUID allocated by COC-CMDB. Range N/A |
Example Requests
Modify a cloud vendor account.
PUT https://{Endpoint}/v1/vendor-account/{id}
{
"account_name" : "sssssstest66666",
"ak" : "sss"
}
Example Responses
Status code: 200
The cloud vendor account is modified.
{
"data" : "688b32521c083f512c338cf2"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
The cloud vendor account is modified. |
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