Hi, is it possible to cancel multiple flow runs at...
# ask-community
a
Hi, is it possible to cancel multiple flow runs at once, either through the UI or cli?
c
Not currently though there are some issues around this that we’re tracking. The only way to do this at the moment is to loop and hit the api once for each flow run (either manually or by clicking through the ui)
a
ok thanks, please can you share the main issue you're tracking so I can follow it? Is there a different output for this
prefect flow-run ls
that will give the the IDs in some kind of list, instead if the decorated text? To make looping easier
c
I found this issue in the repo that's probably a good one to track. https://github.com/PrefectHQ/prefect/issues/14253 As for the cli I'm not sure, but you could use the api to get a json array of flow runs