detach #
Detach a device from a tenant.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/device-manager/devices/:_id/_detach[?refresh=wait_for]
Method: DELETE
Other protocols #
{
"controller": "device-manager/device",
"action": "detach",
"_id": "<deviceId>"
}
Kourou #
kourou device-manager/device:detach --id <deviceId>
Arguments #
Optional: #
refresh
: if set towait_for
, Kuzzle will not respond until the documents are indexed
Response #
{
"status": 200,
"error": null,
"index": "<index>",
"controller": "device-manager/device",
"action": "detach",
"requestId": "<unique request identifier>",
"result": {}
}
Edit this page on Github(opens new window)