You need to enable JavaScript to run this app.
RDS for PostgreSQL

RDS for PostgreSQL

Copy page
Download PDF
Managing instances
RemoveTagsFromResource
Copy page
Download PDF
RemoveTagsFromResource
Call the RemoveTagsFromResource API to remove tags from an instance.​
Request type​
Synchronous request.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
​
Parameter​
Type​
Is it required?​
Example​
Description​
InstanceIds​
Array of String​
Yes​
["postgres-da8f12d3****", "postgres-6b40e576****"]​
Instance IDs that need to remove tag.​
tip​
You can specify up to 20 instance IDs at a time.​
TagKeys​
Array of String​
No​
["key1", "key2"]​
Key of the tag to be removed.​
tip​
It supports passing in the keys of multiple tags at once for batch unbinding. Remove up to 20 tags at a time.​
All​
Boolean​
No​
false​
Whether to remove all tags from the resource. Range:​
  • true: remove all tags.​
  • false: default value, do not remove all tags.​
tip​
This parameter is valid only when TagKeys is empty in the request.​
​
Response parameter​
null​
Sample​
Sample request​
​
POST /?Action=RemoveTagsFromResource&Version=2022-01-01 HTTP/1.1​
Content-Type: application/json​
Host: rds-postgresql.cn-beijing.volcengineapi.com​
X-Date: 20231002T101010Z​
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****​
{​
"InstanceIds": [​
"postgres-50a3c0b2****",​
"postgres-f696c2b4****"​
],​
"All": true​
}​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "20231113171752F4AD50C8C5F898DB6725",​
"Action": "RemoveTagsFromResource",​
"Version": "2022-01-01",​
"Service": "rds_postgresql",​
"Region": "cn-beijing"​
},​
"Result": null​
}​
​
Last updated: 2026.03.31 10:45:18