Add a self-hosted runner to a group for an organization
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.
OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
The organization name. The name is not case sensitive.
runner_group_id
required
integer
Unique identifier of the self-hosted runner group.
runner_id
required
integer
Unique identifier of the self-hosted runner.
Responses
Section titled “Responses”Response