PyGithub icon indicating copy to clipboard operation
PyGithub copied to clipboard

Add / Remove license seats?

Open shaering-vdev opened this issue 2 years ago • 0 comments

Trying to automate seat management with Python...the URL for editing seats is https://github.com/organizations/{orgName}/settings/billing/remove_seats, I've spooled through the Github REST API documentation and found references to viewing plans / used seats / available seats usable via the API, or via PyGithub, but a way to edit the plan is eluding me.

I tried mimicking Chrome's behavior with the Requests library, it seems like it should work, but it doesn't.

Is there any way to do this with PyGithub, or does anyone know of a way to do it programmatically in general?

Thanks!

shaering-vdev avatar May 24 '22 16:05 shaering-vdev