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

Torch Log Service

Copy page
Download PDF
Log management API
CancelDownloadTask
Copy page
Download PDF
CancelDownloadTask
Call interface CancelDownloadTask to cancel a log download task.​
Request syntax​
  • Request Method:POST​
  • Request URL:https://{tls-endpoint}/CancelDownloadTask​
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​
TaskId​
String​
True​
4a9bd4bd-53f1-43ff-b88a-64ee1be5****​
The ID of the download task.​
​
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}/CancelDownloadTask HTTP/1.1​
Content-Type: application/json​
{​
"TaskId":"4a9bd4bd-53f1-43ff-b88a-64ee1be5****"​
}​
​
Sample Response​
​
HTTP/1.1 200 OK​
Content-Type: application/json; charset=utf-8 ​
...​
{}​
​
Error code​
For more information, see Common error codes.​
​
​
Last updated: 2025.10.29 14:35:22