Last updated 6 days ago
Validate the device license based on the session id
Device successfully activated
const response = await fetch('https://console.flecs.tech/api/v2/device/license/validate', { method: 'POST', headers: { "X-Session-Id": "text" }, }); const data = await response.json();
{ "data": { "isValid": false }, "statusCode": 0, "statusText": "text" }
Activate device via user license or device serial number
const response = await fetch('https://console.flecs.tech/api/v2/device/license/activate', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "data": { "sessionId": { "id": "text", "timestamp": 0 }, "licenseKey": "text" }, "statusCode": 0, "statusText": "text" }