Cloud Connector Devices

DeleteDeviceFromAccount

POST
/cc/v1/devices/actions/delete

Remove a device from a ThingSpace account.

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

Request Body

application/json

The request body identifies the device to delete.

The request body identifies the device to delete.

accountidentifier*

The ID of the authenticating billing account, in the format {"billingaccountid":"1234567890-12345"}.

resourceidentifier*

The ID of the target to delete, in the format {"id": "dd1682d3-2d80-cefc-f3ee-25154800beff"}.

Response Body

curl -X POST "https://example.com/cc/v1/devices/actions/delete" \  -H "Content-Type: application/json" \  -d '{    "accountidentifier": {      "billingaccountid": "1223334444-00001"    },    "resourceidentifier": {      "imei": "864508030084997"    }  }'
Empty