Last active
May 20, 2023 15:56
-
-
Save marlonklc/6c2eef009fd87c9466b5e9b1f8d91024 to your computer and use it in GitHub Desktop.
useful heroku APIs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# restart heroku dyno | |
curl --location --request DELETE 'https://api.heroku.com/apps/web-scrap-amazon-wishlist/dynos/web' \ | |
--header 'Accept: application/vnd.heroku+json; version=3' \ | |
--header 'Authorization: Bearer <token-api>' | |
# stop heroku dyno | |
curl --location --request POST 'https://api.heroku.com/apps/web-scrap-amazon-wishlist/dynos/web/actions/stop' \ | |
--header 'Accept: application/vnd.heroku+json; version=3' \ | |
--header 'Authorization: Bearer <token-api>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment