Update license

View as Markdown

Enterprise feature

Set a new Unleash license. Only available for self-hosted Enterprise customers.

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Request

licenseUpdateSchema
tokenstringRequired
The actual license token.

Response headers

locationstring
The location of the newly created resource.

Response

The resource was successfully created.
isValidboolean
Whether the license is valid or not.
tokenstring
The actual license token.
customerstring
Name of the customer that owns the license. This is the name of the company that purchased the license.
typestring
Type of license.
instanceNamestring
Name of the Unleash instance where this license is valid.
instanceIdstring
Identifier of the Unleash instance where this license is valid.
planstring
Name of plan that the license is for.
resourcesobject
The resources available in the license.
expireAtstringformat: "date-time"
Date when the license expires.
issuedAtstringformat: "date-time"
Date when the license was issued.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
415
Unsupported Media Type Error