|  Developer
Updated on May 16, 2022

scripts/remove_device

  • Removes specified device.
Edit
Field Type Required Description
device_id string + device ID to remove
Edit

Edit
Edit
				
					{
    "method": "extensions.plugin.run",
    "id": "_ID_",
    "params": {
        "script": "HUB:test_plugin/scripts/remove_device",
        "scriptParams": {
            "device_id": "5f157ebd46aaf021143f67d4"
        }
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}