The updateLicenseKey() GraphQL mutation is used to update the license key for a LogScale cluster. This operation requires root permissions if the cluster has existing license.

For more information on registering with LogScale Cloud, see the Starting with LogScale Cloud configuration page.


Below is the syntax for the updateLicenseKey() mutation field:

updateLicenseKey(license: string!): License!

Returned Datatypes

The returned datatype License has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: License

expiresAtdatetimeyes The time at which the license expires.
issuedAtdatetimeyes The time at which the license was issued.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.