You can call the DeleteParameterGroup operation to delete a parameter template of an ApsaraDB RDS instance.

You can configure a number of parameters at a time by using a parameter template and then apply the parameter template to an RDS instance. For more information, see Use a parameter template to manage parameters.

Note When you delete a parameter template, the RDS instances to which the parameter template is applied are not affected.

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 ID of the region. 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 IDs of parameter templates.

Response parameters

Parameter Type Example Description
ParameterGroupId String rpg-gfs64c62s8lui107

The ID of the parameter template. You can call the DescribeParameterGroups operation to query the IDs of parameter templates.

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

HTTP/1.1 200 OK
Content-Type:application/xml

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

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "ParameterGroupId" : "rpg-gfs64c62s8lui107",
  "RequestId" : "8AF26036-B254-4212-B8E4-EFBE818B7FD6"
}

Error codes

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