Campaigns V2

Add or Remove device to existing software upgrade

PUT
/fota/v2/campaigns/{account}/{campaignId}

This endpoint allows user to Add or Remove devices to an existing software upgrade.

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.

campaignId*string

Software upgrade information.

Request Body

*/*

Request to add or remove device to existing software upgrade information.

Request to add or remove device to existing software upgrade information.

Type*string

Operation either 'append' or 'remove'.

deviceList*array<string>

Device IMEI list.

Response Body

application/json

application/json

curl -X PUT "https://example.com/fota/v2/campaigns/0000123456-00001/60b5d639-ccdc-4db8-8824-069bd94c95bf" \  -H "Content-Type: */*" \  -d '<Type>remove</Type>  <deviceList>990013907884259</deviceList>  <deviceList>990013907835573</deviceList>  <deviceList>990013907833575</deviceList>'
{  "accountName": "0402196254-00001",  "campaignId": "60b5d639-ccdc-4db8-8824-069bd94c95bf",  "requestId": "string"}