Deletes a task in a specified task flow.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DeleteTask |
The operation that you want to perform. Set the value to DeleteTask. |
| Tid | Long | No | 3*** |
The ID of the tenant. Note To view the ID of the tenant, go to the Data Management (DMS) console and move the
pointer over the profile picture in the upper-right corner. For more information,
see View information about the current tenant.
|
| NodeId | String | Yes | 54**** |
The ID of the node you want to delete. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 3B460770-40D9-5F07-B68A-173D1D708B72 |
The ID of the request. |
| ErrorCode | String | UnknownError |
The error code returned if the request failed. |
| ErrorMessage | String | Unknown server error |
The error message returned if the request failed. |
| Success | Boolean | true |
Indicates whether the request was successful. Valid values:
|
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=DeleteTask
&NodeId=54****
&Common request parametersSample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteTaskResponse>
<RequestId>3B460770-40D9-5F07-B68A-173D1D708B72</RequestId>
<ErrorCode>UnknownError</ErrorCode>
<ErrorMessage>Unknown server error</ErrorMessage>
<Success>true</Success>
</DeleteTaskResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "3B460770-40D9-5F07-B68A-173D1D708B72",
"ErrorCode" : "UnknownError",
"ErrorMessage" : "Unknown server error",
"Success" : true
}Error codes
For a list of error codes, visit the API Error Center.