Uses the profile to deactivate the device.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Device Profile Query
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X POST "https://example.com/m2m/v1/devices/profile/actions/deactivate" \ -H "Content-Type: application/json" \ -d '{ "accountName": "0000123456-00001", "reasonCode": "a short code for the reason action was taken" }'{ "requestId": "595f5c44-eeee-ffff-gggg-020a1545a84d"}{ "errorCode": "400", "errorMessage": "a description of the error"}items <= 100truefalse