v56

OpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
enterprise-admin

Get GitHub Actions permissions for an enterprise

Gets the GitHub Actions permissions policy for organizations and allowed actions and reusable workflows in an enterprise.

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

get/enterprises/{enterprise}/actions/permissions

Path parameters

enterprisestring required

The slug version of the enterprise name.

Response

Response

enabled_organizations'all' | 'none' | 'selected' required

The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions.

selected_organizations_urlstring

The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when enabled_organizations is set to selected.

allowed_actions'all' | 'local_only' | 'selected'

The permissions policy that controls the actions and reusable workflows that are allowed to run.

selected_actions_urlstring

The API URL to use to get or set the actions and reusable workflows that are allowed to run, when allowed_actions is set to selected.

sha_pinning_requiredboolean

Whether actions must be pinned to a full-length commit SHA.