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 ...
Get OpenShift Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.