Software Management Licenses V1
Assign licenses to devices
Deprecated
Assigns licenses to a specified list of devices so that firmware upgrades can be scheduled for those devices.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Path Parameters
account*string
Account identifier in "##########-#####".
Request Body
application/json
IMEIs of the devices to assign licenses to.
IMEIs of the devices to assign licenses to.
deviceList*array<string>
The IMEIs of the devices.
Response Body
application/json
application/json
curl -X POST "https://example.com/fota/v1/licenses/0242078689-00001/assign" \ -H "Content-Type: application/json" \ -d '{ "deviceList": [ "990003425730535", "990000473475989" ] }'{ "accountName": "0242078689-00001", "licCount": 9000, "licUsedCount": 1000, "deviceList": [ { "deviceId": "900000000000001", "status": "LicenseAssignSuccess", "Reason": "Success" }, { "deviceId": "900000000000999", "status": "LicenseAssignSuccess", "Reason": "Success" } ]}
