---
title: "Set GitHub Actions permissions for an enterprise"
method: PUT
path: "/enterprises/{enterprise}/actions/permissions"
tags: ["enterprise-admin"]
---

# Set GitHub Actions permissions for an enterprise

`PUT /enterprises/{enterprise}/actions/permissions`

Sets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

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

## Path parameters

- `enterprise` string, required

## Request body

- object
  - `enabled_organizations` 'all' | 'none' | 'selected', required — The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions.
  - `allowed_actions` 'all' | 'local_only' | 'selected' — The permissions policy that controls the actions that are allowed to run.

## Response `204`

Response

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-5.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-5/versions/50ae54440071/schema)
