update #
This action allow to migrates a list of assets and their attached devices to another tenant.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/device-manager/:engineId/assets/_migrateTenant
Method: POSTOther protocols #
{
  "controller": "device-manager/assets",
  "action": "migrateTenant",
  "engineId": "<engineId>",
  "body": {
    "assetsList": ["<assetId>"],
    "newEngineId": "<newEngineId>"
  }
}Arguments #
engineId: Engine ID
Body properties #
assetsList: An array containing a list of asset ids to migratenewEngineId: The id of the engine you want to migrate the assets to
Response #
{
  "status": 200,
  "error": null,
  "controller": "device-manager/assets",
  "action": "migrateTenant",
  "requestId": "<unique request identifier>",
}