Official Plugins (Kuzzle v2.x)
Device Manager v1.x
2

This plugin is part of the Kuzzle Enterprise Plan. If you are interested, please contact us.

detach #

Detach a device from a tenant.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/_/device-manager/devices/:_id/_detach[?refresh=wait_for]
Method: DELETE

Other protocols #

Copied to clipboard!
{
  "controller": "device-manager/device",
  "action": "detach",
  "_id": "<deviceId>"
}

Kourou #

Copied to clipboard!
kourou device-manager/device:detach --id <deviceId>

Arguments #

Optional: #

  • refresh: if set to wait_for, Kuzzle will not respond until the documents are indexed

Response #

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "index": "<index>",
  "controller": "device-manager/device",
  "action": "detach",
  "requestId": "<unique request identifier>",
  "result": {}
}