Renaming and deprecation of GitHub App Installation Access Token route

In order to Authenticate as an installation, you need to create an installation access token for your GitHub App.

$ curl -i -X POST \
-H "Authorization: Bearer YOUR_JWT" \
-H "Accept: application/vnd.github.machine-man-preview+json" \
https://api.github.com/installations/:installation_id/access_tokens

On September 4th we will be removing this route along with the GitHub Apps preview period.

You will need to update your API calls to use the following:

$ curl -i -X POST \
-H "Authorization: Bearer YOUR_JWT" \
-H "Accept: application/vnd.github.machine-man-preview+json" \
https://api.github.com/app/installations/:installation_id/access_tokens

These routes are functionally identical, so there's no need to make any further changes!

Note: This update only affects users of GitHub.com and future versions of GitHub Enterprise.

If you have any questions or feedback, please let us know!