enterprise-admin

Set selected organizations enabled for GitHub Actions in an enterprise

Replaces the list of selected organizations that are enabled for GitHub Actions 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."

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

put/enterprises/{enterprise}/actions/permissions/organizations

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/enterprises/{enterprise}/actions/permissions/organizations
  • Auth: none declared

Path parameters

enterprisestring required

The slug version of the enterprise name.

Request body

selected_organization_idsinteger[] required

List of organization IDs to enable for GitHub Actions.

Response

Response

Changes

No recorded changes to this operation across all 83 revisions of this API.