Skip to content

Add support for Enterprise License API endpoints. #3754

@MathewClegg

Description

@MathewClegg

Add support for Enterprise License API endpoints.

Endpoints

  • GET /enterprises/{enterprise}/consumed-licenses
  • GET /enterprises/{enterprise}/license-sync-status

Methods to Add

  • EnterpriseService.GetConsumedLicenses() - retrieves consumed license information including total seats and user details
  • EnterpriseService.GetLicenseSyncStatus() - retrieves license synchronization status for Enterprise Server instances

API Documentation
https://docs.github.com/en/enterprise-cloud@latest/rest/enterprise-admin/license?apiVersion=2022-11-28

Additional Context
These endpoints allow enterprise administrators to monitor license consumption and verify that Enterprise Server instances are properly syncing license data.

I'm planning to work on this and will submit a PR.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions