Sample - GitHub REST API
PUT/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}

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

Adds a self-hosted runner to a runner group configured in an organization.

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
orgstringrequired
The organization name. The name is not case sensitive.
runner_group_idintegerrequired
Unique identifier of the self-hosted runner group.
runner_idintegerrequired
Unique identifier of the self-hosted runner.

1 status code
204Response