Remove a target from a ThingSpace account.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
The request body identifies the target to delete.
TypeScript Definitions
Use the request body type in TypeScript.
Target to delete.
curl -X POST "https://example.com/targets/actions/delete" \ -H "Content-Type: application/json" \ -d '{ "accountidentifier": { "billingaccountid": "0000000000-00001" }, "resourceidentifier": { "id": "2e61a17d-8fd1-6816-e995-e4c2528bf535" } }'The ID of the authenticating billing account, in the format {"billingaccountid":"1234567890-12345"}.
The ID of the target to delete, in the format {"id": "dd1682d3-2d80-cefc-f3ee-25154800beff"}.