Add or remove devices from a scheduled upgrade.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier in "##########-#####".
The UUID of the upgrade, returned by POST /upgrades when the upgrade was scheduled.
*/*
List of devices to add or remove.
TypeScript Definitions
Use the request body type in TypeScript.
List of devices to add or remove.
application/json
application/json
curl -X PUT "https://example.com/upgrades/0242078689-00001/upgrade/e3a8d88a-04c6-4ef3-b039-89b62f91e962" \ -H "Content-Type: */*" \ -d '<type>append</type> <deviceList>15-digit IMEI</deviceList> <deviceList>15-digit IMEI</deviceList>'{ "accountName": "0000123456-00001", "id": "60b5d639-ccdc-4db8-8824-069bd94c95bf", "deviceList": [ { "deviceId": "15-digit IMEI", "status": "AddDeviceSucceed", "Reason": "Device added Successfully" }, { "deviceId": "15-digit IMEI", "status": "AddDeviceSucceed", "Reason": "Device added Successfully" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}Possible values are append or remove
Value in
The IMEIs of the devices.