Software Management Licenses V2

Remove licenses from devices

Deprecated

POST
/fota/v2/licenses/{account}/remove

This endpoint allows user to remove licenses from a list of 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.

Request Body

*/*

License removal.

License removal.

accountName?string

Account name.

deviceList*array<string>

Device IMEI list.

Response Body

application/json

application/json

curl -X POST "https://example.com/fota/v2/licenses/0242078689-00001/remove" \  -H "Content-Type: */*" \  -d '<deviceList>990003425730535</deviceList>  <deviceList>990000473475989</deviceList>  <deviceList>900000000000999</deviceList>'
{  "accountName": "0242078689-00001",  "licTotalCount": 1000,  "licUsedCount": 998,  "deviceList": [    {      "deviceId": "990003425730535",      "status": "Success",      "resultReason": "Success"    },    {      "deviceId": "990000473475989",      "status": "Success",      "resultReason": "Success"    },    {      "deviceId": "900000000000999",      "status": "Failure",      "resultReason": "No license attached to device"    }  ]}