Kuzzle
Documentation
2

unlink #

Unlinks a device from its asset.


Query Syntax #

HTTP #

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

Other protocols #

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

Kourou #

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

Arguments #

  • index: Tenant index name

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": "unlink",
  "requestId": "<unique request identifier>",
  "result": {}
}