Delete Projects

How to delete projects using Frontier CLI

To perform tasks within the frontier CLI application, you are required to authenticate using your organization’s OIDC provider. Refer to the Authentication using Frontier CLI guide if you need assistance on logging in for use of Frontier services.

Frontier users and administrators may want to create new objects within their organization’s management cluster.

Project Deletion Guide

Frontier Project Administators may want to delete an existing project that is no longer needed among the organization. Deleting projects within your Frontier management cluster is designed to be simple, but users and administrator must have the authorized permissions to perform the action. If you are having thoughts on deleting any projects, run the following command below to see the list of projects that may no longer be needed within your management cluster:

frontier get projects

Deleted a Specific Project

To being deleting your project, we will start off by navigating to this feature. When you run frontier, you should see a list of capabilites using Frontier-CLI.

Frontier CLI Main Menu

You can see all the actions you are able to perform within your Frontier-CLI menu options. We will run frontier delete to see the deleting options within the interface.

Frontier CLI Delete Menu

Frontier project and frontier administrators are able to delete projects and clusters using the delete actions. We can use -h flag to bring up the help menu. To see the help menu for deleting projects, run the following command below:

frontier delete project -h

Expected output:

Frontier CLI Delete Project Help

NOTE: Project Administrators may only being restricted to deleting projects they have created themselves.

The only thing you are required is the project-name as the desired name of project you wish to delete. For my example, I will delete a project named frontier-test.

frontier delete project frontier-test

Expected output:

Frontier CLI Delete Project Example Output

You will see a response saying your project has been deleted within your organization. If you are unable to delete a specific project, it may be that you are not authorized to delete that project. Contact your supervisor for any questions or issues on project deletion.