ancient-wolf-19325
07/09/2024, 4:48 PMflytectl delete but not entirely sure how to get the domain back to the "just created" state apart from individually deleting the workflows, tasks executions and launch plans. Maybe recreating the project would be simpler?
# Answer
To "wipe" all resources of a domain within a project, you can use a combination of deleting executions and archiving workflows and tasks. Flyte does not support direct deletion of projects, workflows, or tasks, but you can archive them to effectively hide them from the UI and API.
1. Delete Executions: Use flytectl delete execution to delete all executions in the domain.
2. Archive Workflows and Tasks: Use flytectl update workflow --archive and flytectl update task --archive to archive workflows and tasks.
Recreating the project is not directly supported by Flyte; you can only archive projects.
Would you like more detailed steps or a code example?
Sources:
- Deleting executions
- Archiving workflows and tasks
- Project deletion limitations
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1720543677.317539 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.