|  Developer
Updated on December 2, 2022

hub.scenes.item.group.delete

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Delete existing item group object by Id.
Edit
Field Type Required Description
id string + ID of a record to delete
force boolean If an item group is persistent, it can be removed only using this flag with value true. Default is false.
Edit
  • Empty result.
Edit
CodeMessageData
-32602Wrong params,
-32602Record with the key does not exist
Edit
Broadcasts Description
hub.scenes.device.group.deleted Informs about the device group was successfully deleted
Edit
Edit
				
					{
  "id":"_ID_",
  "jsonrpc":"2.0",
  "api": "1.0",
  "method":"hub.scenes.item.group.delete",
  "params":{
    "id": "groupId",
    "force": false
  }
}				
			
Edit
				
					{
  "error": null,
  "id": "_ID_",
  "result": {
  }
}