You can call this operation to unbind tags from specific AnalyticDB for PostgreSQL instances. If the tags are not bound to other instances, the tags are automatically deleted after you unbind them.


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 UntagResources

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

RegionId String Yes cn-hangzhou

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

ResourceId.N RepeatList Yes gp-xxxxxxxxxxx

The ID of instance N. Valid values of N: 1 to 50.

ResourceType String Yes instance

The storage mode of the instance. Valid values:

  • instance: reserved storage mode
  • ALIYUN::GPDB::INSTANCE: elastic storage mode
TagKey.N RepeatList No TestKey

The key of tag N. Valid values of N: 1 to 20.

All Boolean No false

Specifies whether to unbind all tags from an instance. This parameter is valid only when the TagKey.N parameter is not specified. Valid values:

  • true
  • false

Default value: false.

Response parameters

Parameter Type Example Description
RequestId String 5414A4E5-4C36-4461-95FC-23757A20B5F8

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=UntagResources
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "5414A4E5-4C36-4461-95FC-23757A20B5F8"

Error codes

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