---
title: "Set self-hosted runners in a group for an enterprise"
method: PUT
path: "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners"
tags: ["enterprise-admin"]
---

# Set self-hosted runners in a group for an enterprise

`PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners`

Replaces the list of self-hosted runners that are part of an enterprise runner group.

OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.

## Path parameters

- `enterprise` string, required
- `runner_group_id` integer, required

## Request body

- object
  - `runners` integer[], required — List of runner IDs to add to the runner group.

## Response `204`

Response

---

[API](https://skmtc.net/github/apis/enterprise-cloud.md) · [All operations](https://skmtc.net/github/apis/enterprise-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/enterprise-cloud/revisions/daeba3129b5f/schema)
