# Add a self-hosted runner to a group for an organization

From **GitHub v3 REST API**.

`PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}`

Adds a self-hosted runner to a runner group configured in an organization.
You must authenticate using an access token with the `admin:org` scope to use this endpoint.

## Parameters

### `org`

- Location: path
- Required: true
- Type: `string`

### `runner_group_id`

- Location: path
- Required: true
- Type: `integer`

Unique identifier of the self-hosted runner group.

### `runner_id`

- Location: path
- Required: true
- Type: `integer`

Unique identifier of the self-hosted runner.

## Responses

### `204`

Response

## Request examples

### cURL

```shell
curl --request PUT \
  --url {protocol}://{hostname}/api/v3/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}
```
