Skip to content

Instantly share code, notes, and snippets.

@samuelsharaf
Forked from naaman/delete-heroku-apps.sh
Created March 27, 2017 21:56
Show Gist options
  • Save samuelsharaf/0bd8182702d9bfabea4533946a7b8465 to your computer and use it in GitHub Desktop.
Save samuelsharaf/0bd8182702d9bfabea4533946a7b8465 to your computer and use it in GitHub Desktop.
Delete all heroku apps from bash terminal -- no script file required
for app in $(heroku apps); do heroku apps:destroy --app $app --confirm $app; done
@samuelsharaf
Copy link
Author

samuelsharaf commented Nov 21, 2017

for app in $(heroku apps -o ORG-NAME); do heroku apps:destroy --app $app --confirm $app; done

@samuelsharaf
Copy link
Author

for app in $(heroku apps -o heroku-innovation-workshop); do heroku apps:destroy --app $app --confirm $app; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment