O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deleting the application

In this recipe, you will learn how to delete an OpenShift application.

Getting ready

To step through this recipe, you will need rhc installed on your machine. Also, you will use the application created in the Creating an OpenShift application using the rhc command-line client recipe.

How to do it…

To delete an application, open a command-line terminal and run the following command:

$ rhc delete-app --app myapp --confirm

How it works…

The rhc -delete command deletes the application and all its data on the OpenShift server. You cannot roll back this command, so use it with caution. Under the hood, the rhc -delete command makes an HTTP DELETE request to delete the application.

See also

  • The Creating an OpenShift application using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required