Storm docs logo
Search the docs.../
Explore Storm Products

Replace License Settings

Replaces the current license key with a new one.

Request

PropertyValue
MethodPUT
URL/api/license/settings
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X PUT "{BASE_URL}/api/license/settings" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Request Body

ParameterTypeRequiredDescription
data.attributes.licenseKeystringYesThe license key
Request Body
Code iconjson
{
  "data": {
    "attributes": {
      "licenseKey": "XXXX-XXXX-XXXX-XXXX"
    }
  }
}

Response Body

ParameterTypeDescription
data.attributes.licenseKey.valuestringThe license key (may be masked)
data.attributes.licenseKey.editablebooleanIndicates if the license key can be modified
data.attributes.licenseKey.maskedbooleanIndicates if the license key value is masked
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
messagestringMain response status message
Successful Response (200)
Code iconjson
{
  "data": {
    "attributes": {
      "licenseKey": {
        "value": "XXXX-XXXX-XXXX-XXXX",
        "editable": true,
        "masked": true
      }
    }
  },
  "meta": {
    "executionTime": 15,
    "generatedAt": 1764238672624
  },
  "message": "License settings updated successfully"
}

Error Response (4xx/5xx)

ParameterTypeDescription
messagestringHuman-readable error message
errors.attributes.licenseKeystring[]Array of validation errors for licenseKey field
Validation Error (400)
Code iconjson
{
  "message": "Validation failed",
  "errors": {
    "attributes": {
      "licenseKey": [
        "License Key is required"
      ]
    }
  }
}
Field Not Overridable (409)
Code iconjson
{
  "message": "Field licenseKey cannot be overridden because it is defined by an environment variable.",
  "errors": {
    "attributes": {
      "licenseKey": [
        "Field is not overridable"
      ]
    }
  }
}
Error Response
Code iconjson
{
  "message": "Error message"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.