Undeploy (Remove) Apps from Heroku
- Details
- Written by Nam Ha Minh
- Last Updated on 19 October 2022   |   Print Email
1. Undeploy apps using Heroku web dashboard
You can delete an app from Heroku via web interface. Follow these steps:- Sign in to your Heroku account, and go to Apps Dashboard.- Click on the name of the app which you want to undeploy.- Click Settings page:


2. Undeploy apps using Heroku CLI
You can also delete an app from Heroku in command line. Make sure that you logged in Heroku CLI, and follows the steps below:- Type heroku apps to list all deployed apps so you can know the name of the app which you want to remove:

heroku apps:destroy -a codejava-app --confirm=codejava-app
- To learn more about the command syntax, type heroku help apps:destroyThat’s how to undeploy (delete) apps from Heroku using both web interface and CLI. I hope you found this article helpful. I recommend you watch the following video to see Heroku apps undeployment in action:Other Heroku tutorials:
- What is Heroku for Developers (Benefits, how it works and key concepts)
- Deploy Simple Spring Boot Project to Heroku using Git and Heroku CLI
- Change Java version for Apps deployed on Heroku
- Deploy Spring Boot App with MySQL Database on Heroku
- How to Enable Secure Connection (HTTPS) for Heroku Apps
- How to Deploy JAR File to Heroku
- How to Deploy WAR File to Heroku
- Add Custom Domain Names for Heroku Apps
About the Author:
