https://prefect.io logo
a

Arthur Duarte

12/09/2020, 6:10 PM
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

james.lamb

12/09/2020, 6:22 PM
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

Mariia Kerimova

12/09/2020, 6:27 PM
Hey @Arthur Duarte! Since 13.19 version you can use
prefect delete project
👍 1
a

Arthur Duarte

12/09/2020, 6:33 PM
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

Mariia Kerimova

12/09/2020, 6:49 PM
Did you try these options? Or are you looking specifically through cli?
🙌 1
a

Arthur Duarte

12/09/2020, 10:39 PM
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
4 Views