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

Torch Log Service

Copy page
Download PDF
Index management API
DeleteIndex
Copy page
Download PDF
DeleteIndex
Call the DeleteIndex interface to delete the index configuration.​
Usage notes​
This interface is used to delete the index configuration of a topic. The call frequency limit is 20 times/s, and exceeding the frequency limit will cause an ExceedQPSLimit error.​
tip​
After deleting an index, the historical log data and the log data collected after deleting the index will not be searchable.​
Request syntax​
  • Request Method:DELETE​
  • Request URL:https://tls-{Region}.ivolces.com/DeleteIndex​
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​
TopicId​
String​
True​
4a**********​
Topic ID.​
​
Responses​
There are no unique return parameters for this interface. For more information, please refer to the Response message.​
Sample Request​
​
DELETE https://{tls-endpoint}/DeleteIndex HTTP/1.1​
Content-Type: application/json​
{​
"TopicId": "4a************"​
}​
​
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​
TopicNotExist​
Topic does not exist.​
The topic does not exist.​
500​
InternalServerError​
We encountered an unexpected server error, please try again later.​
Internal server error.​
​
​
​
Last updated: 2026.02.03 16:23:12