Deletes a task flow.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DeleteTaskFlow |
The operation that you want to perform. Set the value to DeleteTaskFlow. |
| DagId | Long | Yes | 134137*** |
The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain the ID of the task flow. |
| Tid | Long | No | 3*** |
The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the tenant ID. |
| RegionId | String | No | cn-hangzhou |
The region in which Data Management (DMS) is activated. For more information, see RegionID parameter. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336 |
The ID of the request. |
| ErrorCode | String | 403 |
The error code returned if the request fails. |
| ErrorMessage | String | UnknownError |
The error message returned if the request fails. |
| Success | Boolean | true |
Indicates whether the request is successful. Valid values:
|
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=DeleteTaskFlow
&DagId=134137****
&Tid=3***
&<Common request parameters>
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteTaskFlowResponse>
<RequestId>9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336</RequestId>
<Success>true</Success>
</DeleteTaskFlowResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "9AFE13F6-A4FD-581B-BFDE-B63B1CDC2336",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.