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

# Set selected organizations enabled for GitHub Actions in an enterprise

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

Replaces 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)."

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

## Path parameters

- `enterprise` string, required

## Request body

- object
  - `selected_organization_ids` integer[], required — List of organization IDs to enable for GitHub Actions.

## Response `204`

Response

---

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