Deprovision Seats for Users
A 3-step recipe with GitHub Copilot. We can help you get access.
Recipe · 3 steps
Deprovision Seats for Users
with GitHub Copilot · Subscription Modification
List seats, cancel seats for users, and confirm pending cancellations.
- List the organization's current Copilot seats to confirm there are seats available to cancel before issuing the removal.
- Set the supplied users' Copilot seats to pending cancellation. Access ends at the conclusion of the current billing cycle. Responds 200 with the number of seats cancelled.
- Re-read the organization's Copilot billing information to observe the updated pending cancellation count after the seats were removed.
What you'll need to have ready
- org: The organization name (case-insensitive).
- selectedUsernames: GitHub usernames whose Copilot seats should be cancelled.
For your developer
Arazzo workflow github-copilot:deprovision-users, 3 operations: listCopilotSeats → removeUsersFromCopilotSubscription → getCopilotBillingForOrganization. Specs on APIs.io.