Question
Is it possible to delete a project in Split user interface?
Answer
Yes, the user interface allows deleting projects. Follow the steps below:
- Make sure all feature flags, segments, and metrics are deleted from the project for all environments.
- To delete a feature flag, delete all the definitions from its environments.
- Then delete the feature flag.
- To delete a segment, first select all its keys.
- Then delete the keys.
- Then delete the segment definition, repeat these steps for all environments.
- Finally delete the segment.
- To delete metrics, click on the upper top right (...) icon to delete it
- In the Admin page, under API keys page, Make sure all Admin API and SDK keys are revoked for the project environments. For example the screenshot below shows the SDK API key for the "default" project.
- In Admin settings, in the left menu, click Projects.
- In the list of available projects, click the View link of the project you want to delete.
- You will see a list of environments for the selected project, now you can delete each environment using the Delete link.
- The user interface will allow you to delete all environments except the last one, as each project is required to have at least one environment.
- Click the Actions button in the top right corner and choose the Delete project option, which will allow you to delete it.
Comments
1 comment
We have a workspace for a deprecated product that has about 25 splits, related environments, keys, etc. We simply want all resources associated with the workspace (and the workspace to be administratively deleted). Going through the UI to first delete the entire tree of dependencies is cumbersome. Is there a way to cascading delete all resources and the workspace in one action (with appropriate confirmations) and perhaps validating that none of the splits have received any traffic in X days? If not, is this something split support could do?
Please sign in to leave a comment.