https://prefect.io logo
Title
k

Khyaati Jindal

10/18/2022, 10:28 AM
I can see a GUI option to delete a flow, but is there a way to bulk delete flow ? When ever my agent goes down, on my vm, the flows get stacked and when I rerun the agent, all the stacked flows get executed at the same time. I have to manually delete all flows from prefect cloud, can we do this in CLI or python code ?
1
j

Jeff Hale

10/18/2022, 12:04 PM
In Prefect 2, bulk deletion of flows from the GUI is on the roadmap. You can track the issue here. Using the REST API you can delete individual flows or flow runs, but need the ids, so you would need to grab those. Docs here.
k

Khyaati Jindal

10/19/2022, 7:05 AM
Thanks A lot
👍 1