Unpublishes a published task flow.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | OfflineTaskFlow |
The operation that you want to perform. Set the value to OfflineTaskFlow. |
| DagId | Long | Yes | 7*** |
The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain the task flow ID. |
| 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 ID of the region in which Data Management (DMS) is activated. For more information, see RegionID parameter. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | A8FE12AA-300D-5FDF-806F-C2CB99161F32 |
The ID of the request. |
| ErrorCode | String | UnknownError |
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=OfflineTaskFlow
&DagId=7***
&Common request parameters
Sample responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<OfflineTaskFlowResponse>
<RequestId>A8FE12AA-300D-5FDF-806F-C2CB99161F32</RequestId>
<Success>true</Success>
</OfflineTaskFlowResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "A8FE12AA-300D-5FDF-806F-C2CB99161F32",
"Success" : true
}
Error code
For a list of error codes, visit the Error Center.