Github API - Test Config

POST /orgs/{org}/actions/runners/registration-token
gists
orgs
actions

Returns a token that you can pass to the config script. The token expires after one hour.

You must authenticate using an access token with the admin:org scope to use this endpoint.

Example using registration token

Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.

./config.sh --url https://github.com/octo-org --token TOKEN

Create a registration token for an organization

Arguments
key org

org [scalar]

The organization name. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

Returns
201 application/json authentication-token

authentication-token [object]

Authentication Token

Attributes
expires_at string

The time this token expires

permissions 1917

repositories repository []

repository_selection string

Describe whether all repositories have been selected or there's a selection involved

single_file string

token string

The token used for authentication

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