You need to enable JavaScript to run this app.
RDS for PostgreSQL

RDS for PostgreSQL

Copy page
Download PDF
Managing parameters
ModifyParameterTemplate
Copy page
Download PDF
ModifyParameterTemplate
Call the ModifyParameterTemplate API to modify a parameter template.​
Request type​
Synchronous request.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
​
Parameter​
Type​
Required?​
Example​
Description​
TemplateId​
String​
Yes​
postgresql-6d57281c3313****​
ID of the parameter template.​
TemplateName​
String​
Yes​
Parameter template_test​
New name of the parameter template.​
TemplateDesc​
String​
No​
This is a description of the parameter template.​
New description for the parameter template. It supports up to 200 characters.​
TemplateParams​
Array of ParameterObject​
Yes​
Refer to the request example.​
Parameters configuration in the parameter template.​
tip​
  • If it contains parameters already in the original parameter template, the parameter values will use the newly provided ones.​
  • If it contains parameters not in the original parameter template, those parameters will be added to the parameter template.​
​
ParameterObject​
​
Parameter​
Type​
Required?​
Example​
Description​
Name​
String​
Yes​
auto_explain.log_analyze​
Parameter name.​
Value​
String​
Yes​
off​
Parameter value. Refers specifically to the current instance running value.​
​
Response parameters​
null​
Sample​
Sample request​
​
POST /?Action=ModifyParameterTemplate&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-postgresql.cn-beijing.volcengineapi.com​
X-Date: 20231002T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
{​
"TemplateId": "postgresql-6d57281c3313****",​
"TemplateName": "参数模板_测试-",​
"TemplateDesc": "这是一段参数模板的描述信息。",​
"TemplateParams": [​
{​
"Name": "auto_explain.log_analyze",​
"Value": "on"​
},​
{​
"Name": "auto_explain.log_buffers",​
"Value": "on"​
}​
]​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20250507155747117C127A35D4369CA572-7113d4",​
"Action": "ModifyParameterTemplate",​
"Version": "2022-01-01",​
"Service": "rds_postgresql",​
"Region": "cn-beijing"​
},​
"Result": null​
}​
​
Last updated: 2026.03.31 10:45:19