|  Developer
Updated on May 6, 2022

hub.scenes.global.delete

  • Version: 1.0
  • Classes: UI
  • Title: Global Scene categories
  • Description: Delete the scene by it’s id.
Edit
Field Type Required Description
_id string + scene identifier
Edit
Broadcasts Description
hub.scene.global.deleted Notification about the scene deleting.
Edit
  • Empty result or an error.
Edit
Code Message Data
-32600 Bad request, is empty
-32600 Bad request, does not exist
-32500 The scene with this id does not exist

Here is it an example of usage:

				
					{
    "id": "_ID_",
    "jsonrpc": "2.0",
    "method": "hub.scenes.global.delete",
    "params": {
        "_id": "5c7ff48b7f00002a07a408e3"
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}