Create a self-hosted runner group for 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](https://docs.github.com/github/getting-started-with-github/githubs-products)." Creates a new self-hosted runner group for an organization. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
/orgs/{org}/actions/runner-groups- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- org stringrequired
Body Params
requiredWhether the runner group can be used by `public` repositories.
Name of the runner group.
List of runner IDs to add to the runner group.
List of repository IDs that can access the runner group.
Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. Can be one of: `all`, `selected`, or `private`.
Responses
Response
Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected`