Skip to main content

license_history_entries

Gets or lists a license_history_entries resource.

Overview​

Namelicense_history_entries
TypeResource
Idgitlab.admin.license_history_entries

Fields​

The following fields are returned by SELECT queries:

GraphQL response envelope

NameDatatypeDescription
idstringID of the license extracted from the license data.
namestringName of the licensee.
activated_atstringDate when the license was activated.
block_changes_atstringDate when licensed features will be blocked.
companystringCompany of the licensee.
created_atstringDate when the license was added.
emailstringEmail of the licensee.
expires_atstringDate when the license expires.
planstringName of the subscription plan.
starts_atstringDate when the license started.
typestringType of the license.
users_in_license_countintegerNumber of paid users in the license.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselecthostFields related to entries in the license history. Generated from the GitLab GraphQL schema field Query.licenseHistoryEntries (connection of LicenseHistoryEntry nodes).

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
hoststringGitLab host, with an optional port (default gitlab.com). Resolved from the GITLAB_HOST environment variable when it is set (x-stackQL-envVar); a WHERE host value always takes precedence. Self-managed instances: the provider is generated from the gitlab.com schema, so older instances may reject fields they do not serve. (default: gitlab.com, x-stackQL-envVar: GITLAB_HOST)

SELECT examples​

Fields related to entries in the license history. Generated from the GitLab GraphQL schema field Query.licenseHistoryEntries (connection of LicenseHistoryEntry nodes).

SELECT
id,
name,
activated_at,
block_changes_at,
company,
created_at,
email,
expires_at,
plan,
starts_at,
type,
users_in_license_count
FROM gitlab.admin.license_history_entries
WHERE host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
;