The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Create a self-hosted runner group for an enterprise
Creates a new self-hosted runner group for an enterprise.
You must authenticate using an access token with the admin:enterprise
scope to use this endpoint.
Path Parameters
Body
application/json
Body
Name of the runner group.
Visibility of a runner group. You can select all organizations or select individual organization. Can be one of: all
or selected
Allowed values:selectedall
Unique identifier of the organization.
Unique identifier of the runner.
Whether the runner group can be used by public
repositories.
Default:false
Response
201 application/json
Response
Response
runner-groups-enterprise
Path Parameters
Body
Get a self-hosted runner group for an enterprise
Gets a specific self-hosted runner group for an enterprise.
You must authenticate using an access token with the admin:enterprise
scope to use this endpoint.
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner group.
Response
200 application/json
Response
Response
runner-groups-enterprise
Path Parameters
Update a self-hosted runner group for an enterprise
Updates the name
and visibility
of a self-hosted runner group in an enterprise.
You must authenticate using an access token with the admin:enterprise
scope to use this endpoint.
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner group.
Body
application/json
Body
Name of the runner group.
Visibility of a runner group. You can select all organizations or select individual organizations. Can be one of: all
or selected
Allowed values:selectedall
Default:all
Whether the runner group can be used by public
repositories.
Default:false
Response
200 application/json
Response
Response
runner-groups-enterprise
Path Parameters
Body
Delete a self-hosted runner group from an enterprise
Deletes a self-hosted runner group for an enterprise.
You must authenticate using an access token with the admin:enterprise
scope to use this endpoint.
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner group.
Response
204
Response
Response
Path Parameters
List organization access to a self-hosted runner group in an enterprise
Lists the organizations with access to a self-hosted runner group.
You must authenticate using an access token with the admin:enterprise
scope to use this endpoint.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
Unique identifier of the self-hosted runner group.
Response
200 application/json
Response
Response
Organization Simple