Can you delete a Work Pool worker through the CLI?
# ask-community
m
Can you delete a Work Pool worker through the CLI?
n
hi @Michael Hoffmann - you can delete a work pool via the cli oftentimes
prefect <some-command> --help
is useful e.g.
i.e.
prefect work-pool delete <your-work-pool>
m
Hi @Nate we are starting up a work pool and in the prefect UI we see a 2nd worker that we can't find a reference to
The original question was based off of the and trying to delete the 2nd worker that seems to be a 'ghost' worker
n
ah sorry my brain removed that word no! i think we should have a
prefect work-pool worker delete <id>
command as well as
prefect work-pool worker ls
command
i will make an issue for this
m
That would be great! Thank you
n
hi @Michael Hoffmann - how's something like this look?
m
That looks great!
n
catjam
will get some tests and thatll go in next week
🙌 1
thanks for the raise!