copilot
Get feature policies for an organization
Changed on[!NOTE] This endpoint is in public preview and is subject to change.
Use this endpoint to retrieve the Copilot default availability policy for new features and clients for an organization.
The enterprise default is used when the enterprise has set one. Otherwise, the organization's own default is used, and an organization that has not enabled a default is reported as disabled. For more information, see About default availability.
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.
get/orgs/{org}/copilot/feature-policies
Request
- Base URLhttps://api.github.com
- URLhttps://api.github.com/orgs/{org}/copilot/feature-policies
- Authnone declared
Path parameters
orgstring required
The organization name. The name is not case sensitive.
Response
OK
Changes
- info
endpoint added
- info