Cloud Connector Subscriptions
DeleteSubscription
Remove a subscription 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 subscription to delete.
The request body identifies the subscription 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/subscriptions/actions/delete" \ -H "Content-Type: application/json" \ -d '{ "accountidentifier": { "billingaccountid": "1223334444-00001" }, "resourceidentifier": { "id": "f8b112df-739c-6236-f059-106c67bafd99" } }'Empty

