|  Developer
Updated on November 21, 2021

hub.modes.protect.devices.remove

  • Version: 1.0
  • Classes: UI
  • Title: House modes
  • Description: Removes device identifiers from the collection.
Edit
Field Type Required Description
deviceIds Array of strings + Identifiers of devices to remove from a collection
Edit
  • Empty result or error
Edit
Edit
				
					{
    "method": "hub.modes.protect.devices.remove",
    "id": "_ID_",
    "params": {
        "deviceIds": ["<deviceId>"]
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}				
			
Edit
Code Message Data Reason
-32602 Wrong params rpc.params.invalid Nothing to remove
-32602 Wrong params rpc.params.invalid.deviceIds Format of a required field is wrong
Edit
BroadcastDescription
hub.modes.protect.devices.removedA device has been removed from the collection