List enterprise consumed licenses
Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.
The authenticated user must be an enterprise admin to use this endpoint.
OAuth app tokens and personal access tokens (classic) need the read:enterprise scope to use this endpoint.
[!NOTE] The "Enterprise administration" fine-grained permission is not available to callers. To use this API, you must use an OAuth app token or a personal access token (classic).
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/enterprises/{enterprise}/consumed-licenses
- Auth: none declared
Path parameters
The slug version of the enterprise name.
Query parameters
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Response
Consumed Licenses Response
Changes
No recorded changes to this operation across all 83 revisions of this API.