v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
copilot

Remove organizations from the enterprise coding agent policy

Disables Copilot cloud agent for the specified organizations within the enterprise.

The enterprise's coding agent policy must be set to enabled_for_selected_orgs before using this endpoint. Organizations can be specified by login or matched via custom properties.

Only organizations that have Copilot enabled and belong to the enterprise will be affected.

Only enterprise owners can remove organizations from the coding agent policy.

OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or admin:enterprise scopes to use this endpoint.

delete/enterprises/{enterprise}/copilot/policies/coding_agent/organizations

Path parameters

enterprisestring required

The slug version of the enterprise name.

Request body

organizationsstring[]

List of organization logins within the enterprise to disable Copilot cloud agent for.

Response

A header with no content is returned.