---
title: "Update feature policies for an enterprise"
method: PATCH
path: "/enterprises/{enterprise}/copilot/feature-policies"
tags: ["enterprise-admin"]
---

# Update feature policies for an enterprise

`PATCH /enterprises/{enterprise}/copilot/feature-policies`

## Request

- Base URL: `https://api.github.com`
- URL: `https://api.github.com/enterprises/{enterprise}/copilot/feature-policies`
- Auth: none declared

> [!NOTE]
> This endpoint is in public preview and is subject to change.

Use this endpoint to update the Copilot default availability policy for new features and clients
for an enterprise. Use `delegate_to_organizations` to let each organization set its own default.
Enterprises without organizations cannot use `delegate_to_organizations`.

Changing this policy does not change any Copilot feature or client policy that has already been set.

Enterprise owners and users with the `write_enterprise_ai_controls` permission can use this endpoint.

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
  - `default_availability` object, required
    - `policy_state` 'enabled' | 'disabled' | 'delegate_to_organizations', required: The enterprise default policy applied to newly released Copilot features and clients. `delegate_to_organizations` is only accepted for enterprises that manage Copilot through organizations.

## Response `200`

OK

- object
  - `default_availability` object, required
    - `policy_state` 'enabled' | 'disabled' | 'delegate_to_organizations', required: The enterprise default policy applied to newly released Copilot features and clients. `delegate_to_organizations` means each organization sets its own default.

## Other responses

- `401`: Requires authentication
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation failed, or the endpoint has been spammed.

## Changes

- **2026-10-27** `2bbf5140540d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/github/apis/enterprise-cloud/changes/enterprises/:enterprise/copilot/feature-policies/patch.md)

---

[API](https://skmtc.dev/github/apis/enterprise-cloud.md) - [All operations](https://skmtc.dev/github/apis/enterprise-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/github/apis/enterprise-cloud/revisions/3b55ce443f5c?raw)
