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

Torch Log Service

Copy page
Download PDF
Collection configuration management API
DeleteRuleFromHostGroups
Copy page
Download PDF
DeleteRuleFromHostGroups
Call the DeleteRuleFromHostGroups interface to unbind the collection configuration from the host group list.​
Usage notes​
The call frequency limit for this interface is 20 times/s. An ExceedQPSLimit error will be reported if the frequency limit is exceeded.​
Request syntax​
  • Request Method: PUT​
  • Request URL: https://{tls-endpoint}/DeleteRuleFromHostGroups​
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​
RuleId​
String​
True​
fa*****​
The ID of the collection configuration.​
HostGroupIds​
Array of String​
True​
​
[​
"Bc ****",​
"66 ****"​
]​
​
The list of the host group IDs.​
​
Responses​
There are no unique return parameters for this interface. For more information, please refer to the Response message.​
Sample Request​
​
PUT https://{tls-endpoint}/DeleteRuleFromHostGroups HTTP/1.1​
Content-Type: application/json​
{​
"RuleId": "fa*******",​
"HostGroupIds": [​
"662*********",​
"662*********"​
]​
}​
​
Sample Response​
​
HTTP/1.1 200 OK​
Content-Type: application/json; charset=utf-8​
​
Error code​
The following table lists the error codes related to the interface and business logic. For common error codes, please refer to the Common error codes.​
​
HTTP status code​
Error code​
Error message​
Description​
400​
InvalidArgument​
Invalid argument key %s, value %s, please check argument.​
The parameter is invalid.​
404​
RuleNotExist​
Rule %s does not exist​
The collection configuration does not exist.​
404​
HostGroupNotExist​
HostGroup %s does not exist​
The host group does not exist.​
500​
InternalServerError​
We encountered an unexpected server error, please try again later.​
Internal server error.​
​
​
​
Last updated: 2025.10.28 18:41:59