Deletes a parameter template.

You can batch configure parameters in a parameter template and then apply it to your ApsaraDB for RDS instance. For more information, see Operate parameter templates.

Note Deleting a parameter template does not affect the instance on which the parameter template has been applied.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteParameterGroup

The operation that you want to perform. Set the value to DeleteParameterGroup.

RegionId String Yes cn-hangzhou

The region ID of the parameter template. You can call the DescribeRegions operation to query the most recent region list.

ParameterGroupId String Yes rpg-xxxxxxx

The ID of the parameter template. You can call the DescribeParameterGroups operation to query the most recent parameter templates in a specific region.

AccessKeyId String No LTAIfCxxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

Response parameters

Parameter Type Example Description
RequestId String 8AF26036-B254-4212-B8E4-EFBE818B7FD6

The ID of the request.

Examples

Sample requests


http(s)://rds.aliyuncs.com/? Action=DeleteParameterGroup
&RegionId=cn-hangzhou
&ParameterGroupId=rpg-xxxxxxx
&<Common request parameters>

Sample success responses

XML format

<DeleteParameterGroupResponse>
  <RequestId>8AF26036-B254-4212-B8E4-EFBE818B7FD6</RequestId>
</DeleteParameterGroupResponse>

JSON format

{
	"RequestId":"8AF26036-B254-4212-B8E4-EFBE818B7FD6"
}

Error codes

For a list of error codes, visit the API Error Center.