Searching:0 results found
Deletes the details of a specific Device, as specified by the Device’s ID. This Device ID is returned in the response of the Devices/Post.
You cannot delete a Device that is a parent Device (see parentId) of other Devices or when that Device is specifically mentioned in a Rule(s). In the latter case, you must first delete or amend the Rule(s) before the Device can be deleted. An error is returned if you attempt to delete a parent Device or a Device that is bound to a Rule(s).
See the following for request and response details ‒
|deviceId||String||This is the unique identifier automatically assigned by Axonize when a Device is created. This deviceId is returned in the response of the Devices/Post.||Y|
Example JSON Devices/Delete
curl -X DELETE \
-H ‘Authorization: Token’ \
-H ‘Content-Type: application/json’ \
-H ‘appId: 801A048A-9F23-429F-BF0D-B6D35B22771E’ \
Status 200 ‒ OK