We can rename an app at any time with the heroku rename command. For example, to rename an app named “oldname” to “newname”, change into the app’s git checkout and run:
$ heroku apps:rename newname
Delete app from local and heroku:
$heroku apps:destroy –app appname
That’s it. …!!