Skip to main content

Revoking access to Copilot for members of your organization

Remove access to GitHub Copilot for some or all of the members of your organization.

Кто может использовать эту функцию?

Organization owners for organizations with a subscription to Copilot Business.

How revoking access affects billing

Revoking access takes effect from the start of the next billing cycle. If you remove a seat during a cycle, the user will have access to Copilot for the remainder of the billing cycle. For more information, see "Сведения о выставлении счетов за GitHub Copilot."

Revoking access to GitHub Copilot for your whole organization

  1. В правом верхнем углу GitHubвыберите фото профиля, а затем выберите Ваши организации.
  2. Рядом с организацией щелкните Параметры.
  3. В разделе "Планирование кода и автоматизация" боковой панели щелкните Copilot, а затем нажмите кнопку Access.
  4. В разделе "Copilot Business является активным в вашей организации", чтобы отменить доступ GitHub Copilot для всех пользователей в вашей организации, выберите "Отключено".
  5. В диалоговом окне "Удалить доступ к Copilot" нажмите кнопку "Подтвердить и удалить места".

Revoking access to GitHub Copilot for specific users in your organization

Removing a user from the organization(s) that had granted them GitHub Copilot access will automatically revoke their GitHub Copilot access. Alternatively, you can revoke GitHub Copilot access while preserving their organization membership.

  1. В правом верхнем углу GitHubвыберите фото профиля, а затем выберите Ваши организации.

  2. Рядом с организацией щелкните Параметры.

  3. В разделе "Код, планирование и автоматизация" боковой панели щелкните Copilot, а затем щелкните Access.

  4. Under "Copilot Business is active in your organization," select Enabled For: selected members.

    • In the "Confirm policy update" dialog, click Renew seats.
  5. Under "Access management," in the search bar, type the member's username or full name.

  6. To remove the member from the list of users who have access to GitHub Copilot, select the checkbox to the left of their username, then click Cancel seat.

    Screenshot of the Access management section, with a user selected and the 'Cancel seat' button highlighted.

  7. In the "Confirm seat removal" dialog, click Remove seats.

Using the API to revoke access to GitHub Copilot

You can use GitHub's REST API to revoke access to GitHub Copilot for teams, or specific users, in your organization. For example, you might want to write a script to automatically revoke seats for organization members who have not been using Copilot. See "Remove teams from the Copilot subscription for an organization" and "Remove users from the Copilot subscription for an organization."

Further reading