https://flyte.org logo
#ask-the-community
Title
# ask-the-community
s

seunggs

12/13/2022, 2:29 AM
Hi, is there a way to delete a flyte project? Looks like it can only be archived (at least via REST api)?
s

Samhita Alla

12/13/2022, 4:49 AM
A Flyte project can only be archived via API.
s

seunggs

12/13/2022, 11:22 PM
Oh ok - how can I actually delete it then?
s

Samhita Alla

12/14/2022, 4:38 AM
In the DB, I guess. But I am not sure if that’s recommended. cc: @Yee
y

Yee

12/14/2022, 5:34 PM
yeah that is not really recommended. the soft delete pattern is what flyte formally supports. you can of course go in and delete records from the database. but weird issues may arise if you don’t delete it cleanly, from all tables (task, executions, node executions, task executions, workflows, etc.)
s

seunggs

12/14/2022, 5:35 PM
Right that’s why I was wondering if there’s an actual api to do this - we have a lot of test workflows that are no longer being used. Is there no way to clean them up?
k

Kevin Su

01/12/2023, 10:35 PM
@seunggs mind creating a ticket for it.
s

seunggs

01/12/2023, 10:36 PM
Sure @Kevin Su
k

Kevin Su

01/12/2023, 10:38 PM
thanks!
s

seunggs

01/12/2023, 10:41 PM
2 Views