Device
Last updated
Was this helpful?
Last updated
Was this helpful?
Validate the device license based on the session id
^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$
POST /api/v2/device/license/validate HTTP/1.1
Host: console.flecs.tech
X-Session-Id: text
Accept: */*
{
"data": {
"isValid": true
},
"statusCode": 200,
"statusText": "OK"
}
Activate device via user license or device serial number
Provide only if activation via user license should be performed
Bearer .+
Leave out if no sessionId is known.
^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$
POST /api/v2/device/license/activate HTTP/1.1
Host: console.flecs.tech
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"licenseKey": "text"
}
{
"data": {
"sessionId": {
"id": "text",
"timestamp": 1
},
"licenseKey": "text"
},
"statusCode": 1,
"statusText": "text"
}