copilot

Update feature policies for an organization

Changed on

[!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 organization.

An organization can only set its own default while its enterprise has not set one. For more information, see About default availability.

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

Organization owners can use this endpoint.

OAuth app tokens and personal access tokens (classic) need the admin:org or repo scope to use this endpoint. Organization SAML authorization and OAuth app access restrictions also apply.

patch/orgs/{org}/copilot/feature-policies

Request

  • Base URL
    https://api.github.com
  • URL
    https://api.github.com/orgs/{org}/copilot/feature-policies
  • Auth
    none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

Response

OK

Changes