Skip to main content

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.

PUT/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
org string
required
runner_group_id integer
required

Unique identifier of the self-hosted runner group.

Body Params
required
application/jsonobject
selected_repository_ids array[integer]
required

List of repository IDs that can access the runner group.

Responses

Response