Files
Dylan Morley a2a4f09c24 [FEAT]: Adding Copilot for Business support (#2826)
* initial tests and implementation of Copilot for Business client API

* updated billing settings documentation

* renames and refactors - clarity and simplified

* using context to ensure license clean up

* extra documentation and used ApiOptions instead of custom class

* implemented observable clients

* Fixing convention issues

* renaming for clarity

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 15:57:14 -06:00

14 lines
402 B
C#

using System;
namespace Octokit.Tests.Integration.Helpers
{
internal sealed class CopilotHelper
{
public static void RemoveUserLicense(IConnection connection, string organization, string userLogin)
{
var client = new GitHubClient(connection);
client.Copilot.Licensing.Remove(organization, userLogin).Wait(TimeSpan.FromSeconds(15));
}
}
}