Deletes a parameter template of a PolarDB cluster.

You can use parameter templates to manage multiple parameters at a time and quickly apply existing parameters to a PolarDB cluster.

Note When you delete a parameter template, the parameter settings that are applied to PolarDB clusters 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 No DeleteParameterGroup

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

ParameterGroupId String Yes pcpg-**************

The ID of a parameter template.

Note You can call the DescribeParameterGroups operation to query the parameter template ID.
RegionId String Yes cn-hangzhou

The ID of the region.

Note You can call the DescribeRegions operation to query available regions.

Response parameters

Parameter Type Example Description
RequestId String 4F7195E7-5F74-479D-AF59-1B4BF9******

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<DeleteParameterGroupResponse>
    <RequestId>4F7195E7-5F74-479D-AF59-1B4BF9******</RequestId>
</DeleteParameterGroupResponse>

JSON format

{
    "RequestId": "4F7195E7-5F74-479D-AF59-1B4BF9******"
}

Error codes

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