v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2023-11-288093493.9 MB
enterprise-admin

Enable a selected organization for GitHub Actions in an enterprise

Adds an organization to 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."

You must authenticate using an access token with the admin:enterprise scope to use this endpoint.

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

Path parameters

enterprisestring required

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

org_idinteger required

The unique identifier of the organization.

Response

Response