Deprecated
Assigns licenses to a specified list of devices so that firmware upgrades can be scheduled for those devices.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier in "##########-#####".
application/json
IMEIs of the devices to assign licenses to.
TypeScript Definitions
Use the request body type in TypeScript.
IMEIs of the devices to assign licenses to.
application/json
application/json
curl -X POST "https://example.com/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" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}The IMEIs of the devices.