调用 DeleteTransmissionTasks 接口批量删除传输任务。
异步请求。
删除任务即退订任务,删除后根据任务计费方式的不同,相关费用如下所示:
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
TaskIds | String[] | 是 | ["96ef0e25e6f14c99a4ba9b160c*****","742a6d15b4524381a7722cca5d35****"] | 任务 ID。 说明
|
null
POST /?Action=DeleteTransmissionTasks&Version=2022-10-01 HTTP/1.1 Content-Type: application/json Host: dts.volcengineapi.com X-Date: 20221001T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20221001/cn-beijing/dts/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645**** { "TaskId": [ "96ef0e25e6f14c99a4ba9b160c*****", "742a6d15b4524381a7722cca5d35****" ] }
{ "ResponseMetadata": { "RequestId": "20230831145441454B1F9E42DAE3AB6606", "Action": "DeleteTransmissionTasks", "Version": "2022-10-01", "Service": "dts", "Region": "cn-beijing" }, "Result": null }
更多详情,请参见错误码。