# Get GitHub Actions permissions for an organization

From **GitHub v3 REST API**.

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

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

You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.

## Parameters

### `org`

- Location: path
- Required: true
- Type: `string`

## Responses

### `200`

Response

### `application/json`

- Type: `object`

```json
{
  "allowed_actions": "selected",
  "enabled_repositories": "all",
  "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions"
}
```

```json
{"properties":{"allowed_actions":{"$ref":"#/components/schemas/allowed-actions"},"enabled_repositories":{"$ref":"#/components/schemas/enabled-repositories"},"selected_actions_url":{"$ref":"#/components/schemas/selected-actions-url"},"selected_repositories_url":{"description":"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`.","type":"string"}},"required":["enabled_repositories"],"type":"object"}
```

## Request examples

### cURL

```shell
curl --request GET \
  --url {protocol}://{hostname}/api/v3/orgs/{org}/actions/permissions
```
