← All permissions
Enterprise permission·enterprise_copilot_licenses:write
Enterprise Copilot license management: Write
Tier 2 · Medium
Why Tier 2
Adds and removes enterprise teams from the Copilot subscription. Adding one buys a seat for every member; removing one takes Copilot away from its members at the end of the billing cycle. Grants no access to code or settings, but cost and lost seats are an availability risk.
- Target
- Enterprise
- Plane
- DataInsights and billing: Metrics, events, usage, billing and licensing.
- Granted by
- GitHub App
- Available on
- Enterprise Cloud, EMU
What it unlocks
4 REST endpoints need this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.
- POST /enterprises/{enterprise}/copilot/billing/selected_enterprise_teams
- DELETE /enterprises/{enterprise}/copilot/billing/selected_enterprise_teams
- POST /enterprises/{enterprise}/copilot/billing/selected_usersalso needs a permission GitHub's data does not name
- DELETE /enterprises/{enterprise}/copilot/billing/selected_usersalso needs a permission GitHub's data does not name
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Classic scopes that reach it
- T0admin:enterprisedocumented
- T2manage_billing:copilotdocumented
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.
Other levels
GitHub Docs: Enterprise permissions for "Enterprise Copilot license management"