You can call the DeleteFlow operation to delete a workflow.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteFlow |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to DeleteFlow. |
Id | String | Yes | F-7A39731FE719**** |
The ID of the workflow. You can call ListFlowInstance View the workflow ID. |
ProjectId | String | Yes | FP-257A173659F5**** |
The ID of the project. You can call ListFlowProject View the ID of the project. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data | Boolean | true |
The execution results are returned, including the following:
|
RequestId | String | 11BAFBD8-8509-4177-A26D-407505E73713 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteFlow
&Id=F-7A39731FE719****
&ProjectId=FP-257A173659F5****
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<RequestId>ECC2D0D1-B6D5-468D-B698-30E8805EB574</RequestId>
<Data>true</Data>
JSON
Syntax
{
"RequestId":"ECC2D0D1-B6D5-468D-B698-30E8805EB574",
"Data":true
}