Unique identifier of the self-hosted runner group.
Update a self-hosted runner group for an organization
Updates the name
and visibility
of a self-hosted runner group in an organization.
You must authenticate using an access token with the admin:org
scope to use this endpoint.
Path Parameters
Body
application/json
Body
Name of the runner group.
Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. Can be one of: all
, selected
, or private
.
Allowed values:selectedallprivate
Whether the runner group can be used by public
repositories.
Default:false
Response
200 application/json
Response
Response
runner-groups-org
Link to the selected repositories resource for this runner group. Not present unless visibility was set to selected
Path Parameters
Body
Delete a self-hosted runner group from an organization
Deletes a self-hosted runner group for an organization.
You must authenticate using an access token with the admin:org
scope to use this endpoint.
Path Parameters
Unique identifier of the self-hosted runner group.
Response
204
Response
Response
Path Parameters
List repository access to a self-hosted runner group in an organization
The self-hosted runner groups REST API is available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see “GitHub’s products.”
Lists the repositories with access to a self-hosted runner group configured in an organization.
You must authenticate using an access token with the admin:org
scope to use this endpoint.
Query Parameters
Page number of the results to fetch.
Default:1
Results per page (max 100)
Default:30
Path Parameters
Unique identifier of the self-hosted runner group.
Response
200 application/json
Response
Response
Minimal Repository
Show Child Parameters
Path Parameters
Query Parameters
Set repository access for a self-hosted runner group in an organization
Replaces the list of repositories that have access to a self-hosted runner group configured in an organization.
You must authenticate using an access token with the admin:org
scope to use this endpoint.
Path Parameters
Unique identifier of the self-hosted runner group.
Body
application/json
Body
Unique identifier of the repository.
Response
204
Response
Response
Path Parameters
Body
Add repository access to a self-hosted runner group in an organization
Adds a repository to the list of selected repositories that can access a self-hosted runner group. The runner group must have visibility
set to selected
. For more information, see “Create a self-hosted runner group for an organization.”
You must authenticate using an access token with the admin:org
scope to use this endpoint.
Path Parameters
Unique identifier of the self-hosted runner group.
Response
204
Response
Response