Deleting applications

You can delete applications and all components associated with the application in your project.

Deleting an application

Use the odo app delete command to delete your application.

Procedure

  1. List the applications in the current project:

    1. $ odo app list

    Example output

    1. The project '<project_name>' has the following applications:
    2. NAME
    3. app
  2. List the components associated with the applications. These components will be deleted with the application:

    1. $ odo component list

    Example output

    1. APP NAME TYPE SOURCE STATE
    2. app nodejs-nodejs-ex-elyf nodejs file://./ Pushed
  3. Delete the application:

    1. $ odo app delete <application_name>

    Example output

    1. ? Are you sure you want to delete the application: <application_name> from project: <project_name>
  4. Confirm the deletion with Y. You can suppress the confirmation prompt using the -f flag.