List selected organizations enabled for GitHub Actions in an enterprise
Lists the organizations that are selected to have GitHub Actions enabled in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)." You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
/enterprises/{enterprise}/actions/permissions/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.
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