Updating a Parameter Template (a V3 API)
Function
This API is used to update a parameter template.
Constraints
None
API Calling
For details, see Calling APIs.
Authorization Information
Each account has permissions to call all APIs, but IAM users must have the required permissions specifically assigned.
- If you are using role/policy-based authorization, see the required permissions in Permissions Policies and Supported Actions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
ddm::updateParamGroup
Write
parameterGroup *
-
ddm:param:update
-
URI
PUT /v3/{project_id}/configurations/{config_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Definition Project ID of a tenant in a region To obtain this value, see Obtaining a Project ID. Constraints N/A Range The value can contain 32 characters. Only letters and digits are supported. Default Value N/A |
| config_id | Yes | String | Definition Parameter template ID Constraints The default parameter template cannot be updated. Range The value can contain 36 characters. Only letters and digits are allowed. Default Value N/A |
Request Parameters
Example Request
Updating a parameter template
PUT https://{endpoint}/v3/a8e2a5e2a6xxxxxxxxxx5af5b9ddabe5/configurations/849c450a43xxxxxxxxxxf33cff5f0717pr09
{
"values" : {
"ddl_flowcontrol_threshold" : "10005"
}
} Response Parameters
- Normal response
Example Response
- Normal response example
{ "need_restart" : false } - Abnormal response
For details, see Abnormal Request Results.
Status Codes
- Normal
- Abnormal
For details, see Status Codes.
Error Codes
For details, 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