Update a self-hosted runner group for an enterprise
Updates the `name` and `visibility` of a self-hosted runner group in an enterprise. You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
PATCH
/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- enterprise stringrequired
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
- runner_group_id integerrequired
Unique identifier of the self-hosted runner group.
Body Params
optionalapplication/jsonobject
allows_public_repositories boolean
optionalWhether the runner group can be used by `public` repositories.
name string
optionalName of the runner group.
visibility string
optionalVisibility of a runner group. You can select all organizations or select individual organizations. Can be one of: `all` or `selected`
Responses
application/json runner-groups-enterprise object
Response
allows_public_repositories boolean
requireddefault boolean
requiredid number
requiredname string
requiredrunners_url string
requiredselected_organizations_url string
optionalvisibility string
required