PUT
/orgs/{org}/actions/runner-groups/{runner_group_id}/repositoriesSet 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.
OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
orgstringrequired
The organization name. The name is not case sensitive.
runner_group_idintegerrequired
Unique identifier of the self-hosted runner group.
selected_repository_idsarray<integer>required
List of repository IDs that can access the runner group.
204Response