enterprise-admin
Update model policies for an enterprise
Changed onUse this endpoint to update Copilot model policies for an enterprise. For enterprises that manage Copilot through organizations, use delegate_to_organizations to delegate a model or default availability. Enterprises without organizations cannot use delegate_to_organizations.
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.
patch/enterprises/{enterprise}/copilot/model-policies
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/copilot/model-policies
- Auth: none declared
Path parameters
enterprisestring required
The slug version of the enterprise name.
Request body
Response
OK
Changes
- info
endpoint added
- info