1. API Description
Domain name for API request: wedata.intl.tencentcloudapi.com.
This API is used to delete an orchestration space task.
A maximum of 20 requests can be initiated per second for this API.
We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name |
Required |
Type |
Description |
| Action |
Yes |
String |
Common Params. The value used for this API: DeleteTask. |
| Version |
Yes |
String |
Common Params. The value used for this API: 2025-08-06. |
| Region |
Yes |
String |
Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-hongkong, ap-jakarta, ap-singapore, eu-frankfurt, na-ashburn, na-siliconvalley. |
| ProjectId |
Yes |
String |
Project ID.
|
| TaskId |
Yes |
String |
Either Task ID or VirtualTaskId must be provided (optional, choose one). Reference for values ListTasks |
| OperateInform |
No |
Boolean |
Whether to send a notification to downstream task owners when performing task operations. true: Send notification false: Do not send notification default: false. |
| DeleteMode |
No |
Boolean |
Task Deletion Mode. true: Do not force downstream task instances to fail false: Force downstream task instances to fail default: false
|
3. Output Parameters
| Parameter Name |
Type |
Description |
| Data |
DeleteTaskResult |
Whether deletion succeeded. |
| RequestId |
String |
The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
4. Example
Example1 Successful Example
POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteTask
<Common request parameters>
{
"ProjectId": "1464962169590902784",
"TaskId": "20250827143324825"
}
Output Example
{
"Response": {
"Data": {
"Status": true
},
"RequestId": "37799972-cad9-4d68-aa52-21136956b2c5"
}
}
5. Developer Resources
SDK
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
Command Line Interface
6. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code |
Description |
| FailedOperation |
Operation failed. |
| InvalidParameter |
Parameter error. |
| InvalidParameterValue |
Parameter value error. |
| MissingParameter |
Parameter missing. |