codeClient RPC

client.license.use

Activates a license key on a device. This must be called every time a key is used, as it'll report back any errors such having reached the activation limit, expired, revoked, etc. In response, you'll receive a license token which can be used for other RPC calls.

Parameters

Name
Type
Description

deviceId

string

The device identifier to use this license on.

licenseKey

string

The key assigned to the license.

client.license.product

Get the product information assigned to the license. Keep in mind that products have an associated status, it's up to you to decide on whether a product in "MAINTANENCE" status is useable a not. Only products that are DISCONTINUED cannot be used.

Parameters

Name
Type
Description

licenseKey

string

The license auth token returned when used.

Example Response

{
    "jsonrpc": "2.0",
    "result": {
        "products": [],
    },
    "id": "an-id"
}

Last updated