Software Management Licenses V1

CreateListOfLicensesToRemove

Deprecated

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

Creates a list of devices from which licenses will be removed if the number of MRC licenses becomes less than the number of assigned licenses.

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

Cancellation candidate device list.

Cancellation candidate device list.

type?string

Set to 'append' to append the devices in the current request to the existing list. If there is no existing list then it will be created with only these devices. Leave this parameter out when you want to replace the existing list with the devices in the current request.

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/cancel" \  -H "Content-Type: application/json" \  -d '{    "type": "append",    "deviceList": [      "990003425730535",      "990000473475989"    ]  }'
{  "count": 2,  "deviceList": [    "900000000000001",    "900000000000999"  ]}