Skip to main content

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 string
required

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

runner_group_id integer
required

Unique identifier of the self-hosted runner group.

Body Params
optional
application/jsonobject
allows_public_repositories boolean
optional

Whether the runner group can be used by `public` repositories.

name string
optional

Name of the runner group.

visibility string
optional

Visibility of a runner group. You can select all organizations or select individual organizations. Can be one of: `all` or `selected`

Responses

Response

allows_public_repositories boolean
required
default boolean
required
id number
required
name string
required
runners_url string
required
selected_organizations_url string
optional
visibility string
required