/orgs/{org}/copilot/billing/selected_usersAdd users to an organization's Copilot subscription
Creates Copilot seats for each user specified for an organization. Use selected_usernames to identify the organization members who should receive access, and ensure the organization has a Copilot Business or Copilot Enterprise subscription with a configured suggestion matching policy. The response reports the number of newly created and refreshed seats.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
The organization members to grant access to GitHub Copilot.
A 401 is returned when authentication is missing or invalid. A 403 is returned when you are not an organization owner or your token lacks the manage_billing:copilot or admin:org scope. A 404 is returned when the organization or specified resource cannot be found. A 422 is returned when Copilot Business or Enterprise, billing, the public code suggestions policy, or a valid Copilot access setting is not configured. A 500 is returned for an internal server error. selected_usernames must contain at least one username, and org must identify the target organization.