License API
License Feature Check
7min
Use this endpoint to check a license device against a license feature. Once checked this device will be connected to the feature. If a feature is a floating feature, device will also take one floating slot if available.
GET
Params
Query Parameters
hardware_id
required
String
Unique value which identifies some device/container/session or similar resource.
product
required
String
Product short code
feature
required
String
feature code
license_key
optional
String
Required if product is key_based. Attach the license key (eq. 1111-2222-3333-4444)
username
optional
String
Required if product is user based. Attach the assigned license user email (eq. user@example.com)
Header Parameters
Date
required
String
eq. Thu, 17 Nov 2022 20:51:35 GMT
Authorization
required
String
See signing of the License API calls article.

Response contains a license feature fields :
floating_in_use_devices -number of devices currenly in use on this license feature license_id - id of the license
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
license_not_enough_consumptions (400): Not enough consumptions left
floating_not_available (400): No available slots for floating license
invalid_license_feature_code (400): License feature code: ' + param + ' is invalid or not assigned to the license.
feature_not_floating (400): License feature is not floating cloud feature.

Updated 14 Nov 2023

Did this page help you?