You need to enable JavaScript to run this app.
Torch Log Service

Torch Log Service

Copy page
Download PDF
Tag management API
UntagResources
Copy page
Download PDF
UntagResources
Call the UntagResources interface to unbind tags from resources in bulk.​
Request syntax​
  • Request Method: POST​
  • Request URL: https://{tls-endpoint}/UntagResources​
Request parameters​
The table below only lists the request parameters specific to this interface and some common parameters. For more information, please see Common parameters.​
Body​
​
Name​
Type​
Required​
Example​
Description​
ResourceType​
String​
True​
project​
The resource types, can be set to:​
  • project: Project​
  • topic: Topic​
ResourcesIds​
Array of String​
True​
["c7e0e442-19bf-4fb3-b547-5992fb8b****","2d838e08-a5d2-4d12-a1c1-5dc2b9bf****"]​
The resource list, that is, the ID list of projects or topics.​
Support the input of multiple resource IDs at once, up to 50 resource IDs can be input at the same time.​
TagKeys​
Array of String​
True​
["owner","city"]​
The list of resource tag keys to be unbound.​
Supports passing in multiple tag keys at once, with each key separated by an English comma (,). Up to 20 tag keys can be passed in simultaneously.​
​
Responses​
There are no unique return parameters for this interface. For more information, please refer to the Response message.​
Sample Request​
​
POST https://{tls-endpoint}/UntagResources HTTP/1.1​
Content-Type: application/json​
{​
"ResourceType": "project",​
"ResourcesIds": [​
"c7e0e442-19bf-4fb3-b547-5992fb8b****",​
"2d838e08-a5d2-4d12-a1c1-5dc2b9bf****"​
],​
"TagKeys": ["owner","city"]​
}​
​
Sample Response​
​
Content-Type: application/json; charset=utf-8​
{}​
​
Error code​
For common error codes, please refer to the Common error codes.​
​
​
Last updated: 2025.10.28 18:42:00