POST
/licenseSet or update the license key
Sets or updates the license key for the service. Submit the new value in the key field; the license takes effect immediately after it is set. Use this operation when you need to replace or apply a license without waiting for a later activation step.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
License details to apply immediately.
keystringoptional
The license key to set or update.
200Returns an object containing a `message` and an `error` description, which may be empty.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
400Returned when the request or license key is invalid.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
401Returned when authentication is missing or invalid.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
403Returned when the authenticated user is not permitted to set or update the license.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
500Returned when an internal server error occurs.
errorstringoptional
error description if any
messagestringoptional
message, can be empty
defaultUnexpected Error
errorstringoptional
error description if any
messagestringoptional
message, can be empty
Error handling
A 400 is returned when the submitted request or license key is invalid. A 401 indicates that authentication is missing or invalid, and a 403 indicates that the authenticated user is not permitted to change the license. A 500 indicates an internal server error; provide the license value in the key field.