This API is used to modify parameters in a specified parameter template, including the parameter names, descriptions, and values.
PATH: /v1.0/{project_id}/configurations/{id}
Method: PUT
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
id |
Yes |
Specifies the parameter template ID. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
configuration |
Yes |
Dictionary data structure. For details, see Table 3. |
Specifies the parameter template object. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
name |
No |
String |
Specifies the parameter template name. It contains a maximum of 64 characters and can contain only uppercase letters, lowercase letters, digits, hyphens (-), underscores (_), and periods (.). |
description |
No |
String |
Specifies the parameter template description. It contains a maximum of 256 characters and does not support the following special characters: !<>='&" |
values |
No |
Dictionary data structure. For details, see Table 4. |
Specifies the parameter values defined by users based on the default parameter template. |
{ "configuration": { "name": "configuration_test", "description": "configuration_test", "values": { "max_connections": "10", "autocommit": "OFF" } } }
{ "errCode": "RDS.0041", "externalMessage": "Operation accepted success." }
For details, see Abnormal Request Results.