/license/edit/postgresql

Update the license for a configuration

Request

HTTP Method: POST
Content Type: application/json

Parameters

Property

Type

Description

Required

Property

Type

Description

Required

configuration_id

integer(int64)

configuration ID (non-negative)

required

license

string

the new license key

{ "params": { "configuration_id": 1, "license": "string" } }

Response

HTTP Status: 200

Content Type: application/json

Response

Property

Type

Description

Property

Type

Description

error

object of type error_response

error response

result

object of type license

license details

successful

boolean

response with error or not

error_response

Property

Type

Description

Property

Type

Description

message

string

error message

license

Property

Type

Description

Property

Type

Description

expiration_date

string(date)

expiration date of the license, in YYYY-MM-DD format; blank for a perpetual license

invalidation_reason

string

reason that the license is invalid; omitted if the license is valid

license_key

string

configuration license key

valid

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

Property

Type

Description

error

object of type error_response

error response

successful

boolean

always false

error_response

Property

Type

Description

Property

Type

Description

message

string

error message

{ "error": { "message": "string" }, "successful": false }