Adds a self-hosted runner to a runner group configured in an enterprise.You must authenticate using an access token with the admin:enterprise scope to use this endpoint.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.github.com/enterprises//actions/runner-groups//runners/'
Response Response Example
{}
Request
Path Params
enterprise
stringÂ
required
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
runner_group_id
integerÂ
required
Unique identifier of the self-hosted runner group.