hi all may i know how to delete all flow-runs using cli or command line, the 'prefect flow-run delete' required flow-run uuid. i want to delete all at one
✅ 1
n
Nate
05/19/2023, 1:59 PM
hi @ar - you could do
Copy code
❯ prefect flow-run ls | awk 'NR>3 {print $2}' | while read line
do
prefect flow-run delete $line
done
although it would probably be faster to use the client to do this async if you have a lot of runs to delete
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.