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.
/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- enterprise stringrequired
The slug version of the enterprise name. You can also substitute this value with the enterprise id.
- runner_group_id integerrequired
Unique identifier of the self-hosted runner group.
Query Parameters
- per_page integeroptional
Results per page (max 100)
- page integeroptional
Page number of the results to fetch.
Responses
Response
organizations array[Organization Simple object]required
items Organization Simple objectOrganization Simple
Organization Simple
Example: https://github.com/images/error/octocat_happy.gif
Example: A great organization
Example: https://api.github.com/orgs/github/events
Example: https://api.github.com/orgs/github/hooks
Example: 1
Example: https://api.github.com/orgs/github/issues
Example: github
Example: https://api.github.com/orgs/github/members{/member}
Example: MDEyOk9yZ2FuaXphdGlvbjE=
Example: https://api.github.com/orgs/github/public_members{/member}
Example: https://api.github.com/orgs/github/repos
Example: https://api.github.com/orgs/github