Software Management Licenses V1

Remove licenses from device

Deprecated

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

Remove unused licenses from device.

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 in "##########-#####".

Request Body

application/json

IMEIs of the devices to remove licenses from.

IMEIs of the devices to remove licenses from.

deviceList*array<string>

The IMEIs of the devices.

Response Body

application/json

application/json

curl -X POST "https://example.com/fota/v1/licenses/0242078689-00001/remove" \  -H "Content-Type: application/json" \  -d '{    "deviceList": [      "900000000000001",      "900000000000998",      "900000000000999"    ]  }'
{  "accountName": "0242078689-00001",  "licCount": 9000,  "licUsedCount": 998,  "deviceList": [    {      "deviceId": "900000000000001",      "status": "LicenseRemoveSuccess",      "Reason": "Success"    },    {      "deviceId": "900000000000998",      "status": "LicenseRemoveSuccess",      "Reason": "Success"    },    {      "deviceId": "900000000000999",      "status": "LicenseRemoveFailed",      "Reason": "No license attached to device"    }  ]}