|  Developer
Updated on November 22, 2021

hub.scenes.delete

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

Here is it an example of usage:

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