Greetings! Could you please help me with a simple ...
# prefect-community
a
Greetings! Could you please help me with a simple question? I created a duplicated prefect project, using the command:
prefect create project "my-project"
Can we also delete projects, using a similar command ?
j
yes you can 😀 https://docs.prefect.io/api/latest/cli/delete.html
prefect delete project my-project
You can run
prefect -h
to see a list of all commands or
prefect delete -h
(for example) to see all things you can delete from the CLI. Otherwise, the CLI API docs I linked above also list the available commands.
m
Hey @Arthur Duarte! Since 13.19 version you can use
prefect delete project
👍 1
a
Oh, maybe that is why I can't see this option using
prefect -h
, my Prefect version is 0.13.16 When I try
prefect delete project my-project
I got
Error: No such command 'delete'.
Any other option for deleting project in previous versions?
m
Did you try these options? Or are you looking specifically through cli?
🙌 1
a
Thanks @Mariia Kerimova I can see the projects list in the Prefect Cloud UI, but I was not able to delete them, because of my access permissions. But I asked to my admin, and then he could delete the project through the UI. thanks
👍 1