Set organization access for a self-hosted runner group in an enterprise
Replaces the list of organizations that have access to a self-hosted runner configured 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
Unique identifier of the organization.
Response
204
Response
Response
Path Parameters
Body
Add organization access to a self-hosted runner group in an enterprise
Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see “Create 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.
Unique identifier of an organization.
Response
204
Response
Response
Path Parameters
Remove organization access to a self-hosted runner group in an enterprise
Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see “Create 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.
Unique identifier of an organization.
Response
204
Response
Response
Path Parameters
List self-hosted runners in a group for an enterprise
Lists the self-hosted runners that are in a specific enterprise 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
A self hosted runner
Show Child Parameters
Path Parameters
Query Parameters
Set self-hosted runners in a group for an enterprise
Replaces the list of self-hosted runners that are part of an enterprise runner group.
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
Unique identifier of the runner.
Response
204
Response
Response