{ "opencollection": "1.0.0", "info": { "name": "GitHub Copilot REST Copilot Billing Copilot User Management API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Copilot User Management", "type": "folder" }, "items": [ { "info": { "name": "Github Copilot Add Teams to Copilot Subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.github.com/orgs/:org/copilot/billing/selected_teams", "params": [ { "name": "org", "value": "octo-org", "type": "path", "description": "The organization name. Case-insensitive." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Purchases Copilot seats for all members within designated teams. Billing is based on the organization's Copilot plan. Only organization owners can call this endpoint." }, { "info": { "name": "Github Copilot Remove Teams From Copilot Subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.github.com/orgs/:org/copilot/billing/selected_teams", "params": [ { "name": "org", "value": "octo-org", "type": "path", "description": "The organization name. Case-insensitive." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Marks seats for all members of specified teams as pending cancellation. Access ends at the conclusion of the current billing cycle." }, { "info": { "name": "Github Copilot Add Users to Copilot Subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.github.com/orgs/:org/copilot/billing/selected_users", "params": [ { "name": "org", "value": "octo-org", "type": "path", "description": "The organization name. Case-insensitive." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Provisions Copilot seats for specified individual organization members. Charges are applied per the organization's plan structure." }, { "info": { "name": "Github Copilot Remove Users From Copilot Subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.github.com/orgs/:org/copilot/billing/selected_users", "params": [ { "name": "org", "value": "octo-org", "type": "path", "description": "The organization name. Case-insensitive." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sets user seats to pending cancellation, revoking access at the end of the billing cycle unless the user is retained through a team assignment." } ] } ], "bundled": true }