License Feature Check

Use this endpoint to check a license device against a license feature. Once checked, the device will be connected to the feature. If the feature is floating, the device will also take one floating slot if available.

Endpoint

  • Method: GET

  • Path: /api/v4/check_license_feature

  • Description: Checks a license device against a license feature.

Authentication

See License API Authorization.

Required headers

  • Date (string) — RFC7231 GMT date string

  • Authorization (string)

  • Accept: application/json

Request

Query parameters (TypeScript)

JSON Schema

Query parameters summary

Required:

  • hardware_id (string) — Unique hardware ID generated for the client device

  • product (string) — Product short code

  • feature (string) — Feature code

One of:

  • license_key (string) — Required if product is key-based

  • username (string) — Required if product is user-based

Optional:

  • license_id (number) — Targets a specific license ID

Examples

Response

Response body (TypeScript)

JSON Schema

Notes:

  • floating_in_use_devices — number of devices currently in use on this license feature (present only on floating and floating cloud features)

  • license_id — id of the license

Errors

If an error occurs, the response will have an HTTP status code of 400 or higher. The response body will contain an error description in the following format:

JSON Schema

List of exceptions

  • missing_headers (400): Some headers are missing

  • unknown_product (400): Provided product was not found

  • license_not_found (400): License with the provided license user not found

  • license_not_enabled (400): The license is not enabled

  • license_not_active (400): The license is not active

  • device_not_found (400): An active device matching the hardware_id not found

  • blacklisted (400): This device is blacklisted

  • invalid_license_feature_code (400): License feature code: ' + param + ' is invalid or not assigned to the license.

  • floating_not_available (400): No available slots for floating license.

Last updated

Was this helpful?