You can call the DeleteFlow operation to delete a workflow.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

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:

  • true: The object is deleted successfully.
  • false: The object fails to be deleted.
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
}