PUT
/v2/ee-license/set-license-keySet the EE license key
Sets the EE license key for the instance and returns the resulting subscription details. Supply licenseKey with a non-empty value to apply the key. Use POST /v2/ee-license/prepare-set-license-key first to preview the plan and usage associated with the key.
Request to apply an EE license key to the instance.
licenseKeystringrequired
The EE license key to apply. Must contain at least one character.
200Returns the subscription details, including the license key, subscription name and status, enabled features, and current user count.
cancelAtPeriodEndbooleanrequired
currentPeriodEndintegeroptional
currentUserCountintegerrequired
enabledFeaturesarray<string>required
isPayAsYouGobooleanrequired
lastValidCheckstringoptional
licenseKeystringrequired
namestringrequired
nonCommericalbooleanrequired
statusstringrequired
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when access to the requested operation is forbidden.
codestringrequired
paramsarray<object>optional
404Returned when the requested resource is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates the request is invalid; a 401 indicates authentication is missing or invalid; a 403 indicates access is forbidden; and a 404 indicates the requested resource was not found. licenseKey is required and must contain at least one character.