Skip to main content

Set self-hosted runners in a group for an organization

Replaces the list of self-hosted runners that are part of an organization runner group. 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}/runners
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
runners array[integer]
required

List of runner IDs to add to the runner group.

Responses

Response