hi all may i know how to delete all flow-runs usin...
# prefect-getting-started
a
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
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
🙌 2
a
thank you will try windows command, i see