Delete a flow

更新时间:
复制 MD 格式

This topic describes how to delete a flow using the console and Alibaba Cloud CLI.

Background

Deleting a flow is an asynchronous operation. A successful API call returns a response indicating that the deletion has started. After a flow is deleted, its execution history is permanently removed and can no longer be queried. Any ongoing execution stops after its current step is complete. You can create a new flow with the same name, but it will have a new, unique ID and is not affected by the original flow.

Delete a flow by using the console

  1. Log on to the Serverless Workflow console.

  2. Delete the flow.

    • On the Flows page, find the flow to delete, and then click Delete in the Actions column.

    • You can also click a target flow and then click the delete button on the Flows page. On the flow details page, click Delete in the upper-right corner.

Delete a flow by using Alibaba Cloud CLI

Run the following command to delete an existing flow:

aliyun fnf DeleteFlow --Name cli_guide_1

Expected output:

# Successful operation
{
    "RequestId": "xxxxx"
}