Removes tags from PolarDB clusters.


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 UntagResources

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

RegionId String Yes cn-hangzhou

The region ID of the cluster.

Note You can call the DescribeRegions operation to query available regions.
ResourceType String Yes cluster

The type of the resource. Set the value to cluster.

All Boolean No true

Specifies whether to remove all tags from the cluster. Valid values: true and false. Default value: false.

Note This parameter is valid only when the value of the TagKey.N parameter is empty.
ResourceId.N String No pc-***************

The ID of the cluster. To remove tags from multiple clusters at a time, click Add to add cluster IDs.

Note You can remove tags from a maximum of 50 clusters at a time.
TagKey.N String No type

The key of the tag. To remove multiple tags from a cluster at a time, click Add to add tag keys.

Note You can create up to 20 tag keys at a time.

Response parameters

Parameter Type Example Description
RequestId String 2D69A58F-345C-4FDE-88E4-BF5189******

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "2D69A58F-345C-4FDE-88E4-BF5189******"

Error codes

For a list of error codes, see Service error codes.