Github API - Test Config

POST /app/installations/{installation_id}/access_tokens
apps

Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them. Using an expired token produces a status code of 401 - Unauthorized, and requires creating a new installation token. By default the installation token has access to all repositories that the installation can access. To restrict the access to specific repositories, you can provide the repository_ids when creating the token. When you omit repository_ids, the response does not contain the repositories key.

You must use a JWT to access this endpoint.
Create an installation access token for an app

Arguments
key installation-id

installation-id [scalar]

The unique identifier of the installation.

API:
Github Open API
(version: 1.1.4)

Returns
201 application/json installation-token

installation-token [object]

Authentication token for a GitHub App installed on a user or org.

Attributes
expires_at string

has_multiple_single_files boolean

permissions app-permissions

repositories repository []

repository_selection string

single_file string

single_file_paths string []

token string

API:
Github Open API
(version: 1.1.4)
401 requires_authentication

requires_authentication [scalar]

Requires authentication

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)