Targets

DeleteTarget

POST
/cc/v1/targets/actions/delete

Remove a target 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 target to delete.

The request body identifies the target 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/targets/actions/delete" \  -H "Content-Type: application/json" \  -d '{    "accountidentifier": {      "billingaccountid": "0000000000-00001"    },    "resourceidentifier": {      "id": "2e61a17d-8fd1-6816-e995-e4c2528bf535"    }  }'
Empty