This endpoint allows user to Add or Remove devices to an existing campaign.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Account identifier.
Unique identifier of a campaign.
application/json
Add or remove device to existing upgrade information.
TypeScript Definitions
Use the request body type in TypeScript.
Devices to add or remove from existing software upgrade information.
application/json
application/json
curl -X PUT "https://example.com/campaigns/firmware/0000123456-00001/f858b8c4-2153-11ec-8c44-aeb16d1aa652" \ -H "Content-Type: application/json" \ -d '{ "Type": "remove", "deviceList": [ "15-digit IMEI" ] }'{ "accountName": "0000123456-00001", "campaignId": "f858b8c4-2153-11ec-8c44-aeb16d1aa652", "deviceList": [ { "deviceId": "15-digit IMEI", "status": "AddDeviceSucceed", "Reason": "Device added Successfully" } ]}{ "errorCode": "error code string", "errorMessage": "error message string"}Operation either 'append' or 'remove'
Device IMEI list.