Enterprise

class github.Enterprise.Enterprise

This class represents Enterprises.

The reference can be found here https://docs.github.com/en/enterprise-cloud@latest/rest/enterprise-admin

The OpenAPI schema can be found at

  • /components/schemas/enterprise

get_consumed_licenses(*, licence_users_per_page: int | None = None) EnterpriseConsumedLicenses
Calls:

GET /enterprises/{enterprise}/consumed-licenses

Parameters:

licence_users_per_page – int Number of users retrieved with the licences. Iterating over users property will fetch pages of this size. The default page size is 30, the maximum is 100.