apicheats.dev Cheat sheet Raw .md
DELETE

Try DELETE /enterprises/{enterprise}/copilot/policies/coding_agent/organizations — GitHub API

GitHub playground

Remove organizations from the enterprise coding agent policy

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

2 body fields
  • organizations · optional · string[] — List of organization logins within the enterprise to disable Copilot cloud agent for.
  • custom_properties · optional · object[] — List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.