Update the license for a configuration
Request
HTTP Method: POST
Content Type: application/json
Parameters
Property | Type | Description | Required |
---|---|---|---|
| integer(int64) | configuration ID (non-negative) | required |
| string | the new license key |
|
{ "params": { "configuration_id": 1, "license": "string" } }
Response
HTTP Status: 200
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| object of type | license details |
| boolean | response with error or not |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
license
Property | Type | Description |
---|---|---|
| string(date) | expiration date of the license, in YYYY-MM-DD format; blank for a perpetual license |
| string | reason that the license is invalid; omitted if the license is valid |
| string | configuration license key |
| boolean | whether the license is valid or not |
{ "error": { "message": "string" }, "result": { "expiration_date": "2024-07-31", "invalidation_reason": "string", "license_key": "string", "valid": false }, "successful": true }
HTTP Status: 400
Content Type: application/json
Response
Property | Type | Description |
---|---|---|
| object of type | error response |
| boolean | always false |
error_response
Property | Type | Description |
---|---|---|
| string | error message |
{ "error": { "message": "string" }, "successful": false }
Comments