|  Developer
Updated on November 20, 2021

hub.device.force_remove

Connection type: Permissions:
  • Remove device from Controller despite the consequences. ‘forceDeviceRemoveCommand’ script from plugin config will be called in lua.
Edit
Field Description
_id
Id of target device
Edit
Edit
Broadcast Description
informs about device was removed
informs about item was removed
Edit
Edit
				
					{
    "method": "hub.device.force_remove",
    "id": "_ID_",
    "params": {
        "_id" : "_OBJECT_ID_"
    }
}				
			
Edit
				
					{
    "api": "1.0",
    "error": null,
    "id": "_ID_",
    "result": {}
}				
			
Edit
Code Message Data
-32500
No device found!
ezlo.device.notfound
-32500
Device is persistent
ezlo.device.persistent