v56

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

Add enterprise teams to the Copilot subscription for an enterprise

[!NOTE] This endpoint is in public preview and is subject to change.

Purchases a GitHub Copilot seat for all users within each specified enterprise team. The enterprise will be billed accordingly.

Only enterprise owners can purchase Copilot seats for their enterprise members.

The response contains the total number of new seats that were created and existing seats that were refreshed.

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

post/enterprises/{enterprise}/copilot/billing/selected_enterprise_teams

Path parameters

enterprisestring required

The slug version of the enterprise name.

Request body

selected_enterprise_teamsstring[] required

List of enterprise team names within the enterprise to which to grant access to GitHub Copilot.

Response

OK

seats_createdinteger required