Set self-hosted runners in a group for an enterprise
Replaces the list of self-hosted runners that are part of an enterprise runner group. You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
PUT
/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners- 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
requiredapplication/jsonobject
runners array[integer]
requiredList of runner IDs to add to the runner group.
Responses
Response