In this recipe, you will learn how to delete an OpenShift application.
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.
To delete an application, open a command-line terminal and run the following command:
$ rhc delete-app --app myapp --confirm
-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.