---
title: "actions-enterprise-permissions"
url: "https://kiwi.arashsheyda.me/apis/git-hub-v3-rest-api-1/versions/4cb06d26-20a0-409c-8492-8406889b7eb4/schemas/actions-enterprise-permissions"
---

> Full API specification: https://kiwi.arashsheyda.me/apis/git-hub-v3-rest-api-1/versions/4cb06d26-20a0-409c-8492-8406889b7eb4.md

# actions-enterprise-permissions

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: GitHub v3 REST API
  version: 1.1.4
servers:
  - url: "{protocol}://{hostname}/api/v3"
    variables:
      hostname:
        description: Self-hosted Enterprise Server or Enterprise Cloud hostname
        default: HOSTNAME
      protocol:
        description: Self-hosted Enterprise Server or Enterprise Cloud protocol
        default: http
components:
  schemas:
    enabled-organizations:
      type: string
      description: "The policy that controls the organizations in the enterprise that
        are allowed to run GitHub Actions. Can be one of: `all`, `none`, or
        `selected`."
      enum:
        - all
        - none
        - selected
    allowed-actions:
      type: string
      description: "The permissions policy that controls the actions that are allowed
        to run. Can be one of: `all`, `local_only`, or `selected`."
      enum:
        - all
        - local_only
        - selected
    selected-actions-url:
      type: string
      description: The API URL to use to get or set the actions that are allowed to
        run, when `allowed_actions` is set to `selected`.
    actions-enterprise-permissions:
      type: object
      properties:
        enabled_organizations:
          $ref: "#/components/schemas/enabled-organizations"
        selected_organizations_url:
          type: string
          description: 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:
          $ref: "#/components/schemas/allowed-actions"
        selected_actions_url:
          $ref: "#/components/schemas/selected-actions-url"
      required:
        - enabled_organizations
```
