Unique identifier of the self-hosted runner group.
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
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
Path Parameters
Remove repository access to a self-hosted runner group in an organization
Removes a repository from 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