|  Developer
Updated on January 3, 2022

hub.devices.service.notifications.set

Connection type:

Permissions:

  • Sets flag to true for all passed devices, for other devices this flag should be changed to false.
Edit
Field Type Required Description
ids Array of strings + Array of Ids of target devices
Edit
Edit
Code Message Data
-32500 No device found! ezlo.device.notfound
-32602 Wrong field of object rpc.params.wrong_field
Edit
Edit
				
					{
    "method": "hub.devices.service.notifications.set",
    "id": "_ID_",
    "params": {
        "ids" : [ "8asd67a6sds23", "asdasd7665s08" ]
    }
}				
			
Edit
				
					{
    "api": "1.0",
    "error": null,
    "id": "_ID_",
    "result": {}
}