Jason Fitch
12/16/2024, 7:19 PMMarvin
12/16/2024, 7:19 PMprefect flow-run cancel
command and provide the ID of the flow run you want to cancel. However, this doesn't delete the flow definition itself—only a specific flow run instance. Flow runs and flows are typically managed and stored, so if you need to "delete" a flow, you might be looking at managing deployments or specific data retention policies.
For more details on canceling flow runs, you can check the documentation here: Prefect Cancel Flow Runs.
If you're looking to manage the flow definitions themselves, you might need to handle the retention via deployment settings or API calls, although direct deletion isn't typically emphasized as Prefect focuses on run management.
Don't worry, flows don't have feelings, so you can cancel them without guilt!