Provision Seats for Users
A 3-step recipe with GitHub Copilot. We can help you get access.
Recipe · 3 steps
Provision Seats for Users
with GitHub Copilot · Subscription Modification
Confirm billing, assign Copilot seats to users, and verify one seat.
- Read the organization's Copilot billing information to confirm seat management is enabled before purchasing seats. Returns the seat breakdown and management setting.
- Purchase Copilot seats for the supplied organization members. Billing is applied per the organization's plan. Responds 201 with the number of new seats created.
- Read the Copilot seat assignment details for one of the provisioned users to confirm the seat is active, including plan type and assignment origin.
What you'll need to have ready
- org: The organization name (case-insensitive).
- selectedUsernames: GitHub usernames (org members) to assign Copilot seats to.
- verifyUsername: A username from the list whose seat assignment is read back.
For your developer
Arazzo workflow github-copilot:provision-users, 3 operations: getCopilotBillingForOrganization → addUsersToCopilotSubscription → getCopilotSeatForUser. Specs on APIs.io.