# Enable a selected organization for GitHub Actions in an enterprise

From **GitHub v3 REST API**.

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

Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for `enabled_organizations` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an enterprise](#set-github-actions-permissions-for-an-enterprise)."

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

## Parameters

### `enterprise`

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

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

### `org_id`

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

Unique identifier of an organization.

## Responses

### `204`

Response

## Request examples

### cURL

```shell
curl --request PUT \
  --url {protocol}://{hostname}/api/v3/enterprises/{enterprise}/actions/permissions/organizations/{org_id}
```
