enterprise-admin
Update model policies for enterprise apps
Changed onUse this endpoint to set Copilot model policies for enterprise apps. Set a model to enabled to configure an apps policy, or to optional to remove the stored apps policy for that model. Locked models cannot be updated.
Returns the apps policy state representation, including enterprise policy and editability. These states are not a final access decision for a user.
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/apps/model-policies
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/copilot/apps/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