heroku Platform API用のアクセストークンを取得

heroku Platform API用のアクセストークンはheroku cli経由で取得できる。

heroku auth:token

長期アクセストークンを取得するには

heroku authorizations:create

を使用する。