---
title: "Get GitHub Actions permissions for an organization"
method: GET
path: "/orgs/{org}/actions/permissions"
tags: ["actions"]
---

# Get GitHub Actions permissions for an organization

`GET /orgs/{org}/actions/permissions`

Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.

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

## Path parameters

- `org` string, required

## Response `200`

Response

- ActionsOrganizationPermissions
  - `enabled_repositories` 'all' | 'none' | 'selected', required — The policy that controls the repositories in the organization that are allowed to run GitHub Actions.
  - `selected_repositories_url` string — The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` 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_url` string — 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_required` boolean — Whether actions must be pinned to a full-length commit SHA.

---

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