Add a self-hosted runner to a group for an enterprise
Adds a self-hosted runner to a runner group configured in an enterprise.
You must authenticate using an access token with the admin:enterprise
scope to use this endpoint.
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner group.
Unique identifier of the self-hosted runner.
Response
204
Response
Response
Path Parameters
Remove a self-hosted runner from a group for an enterprise
Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.
You must authenticate using an access token with the admin:enterprise scope to use this endpoint.
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner group.
Unique identifier of the self-hosted runner.
Response
204
Response
Response
Path Parameters
List self-hosted runners for an enterprise
Lists all self-hosted runners configured for an enterprise.
You must authenticate using an access token with the admin:enterprise scope to use this endpoint.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Response
200 application/json
Response
Response
A self hosted runner
Show Child Parameters
Path Parameters
Query Parameters
List runner applications for an enterprise
Lists binaries for the runner application that you can download and run.
You must authenticate using an access token with the admin:enterprise scope to use this endpoint.
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Response
200 application/json
Response
Response
Runner Application
A short lived bearer token used to download the runner, if needed.
Path Parameters
Create a registration token for an enterprise
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:enterprise 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/enterprises/octo-enterprise --token TOKEN
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Response
201 application/json
Response
Response
Authentication Token
Authentication Token
The token used for authentication
Example:v1.1f699f1069f60xxx
The time this token expires
Example:2016-07-11T22:14:10Z
Example:{"issues":"read","deployments":"write"}
A git repository
Show Child Parameters
Example:config.yaml
Describe whether all repositories have been selected or there’s a selection involved
Allowed values:allselected