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.
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数
返回响应
🟢204Response
application/json
Bodyapplication/json
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://api.github.com/orgs//actions/runner-groups//runners/' \
--header'Authorization: Bearer <token>'