|  Developer
Updated on November 24, 2021

hub.room.deleted

  • Sent when a room is removed from the hub via the hub.room.delete command. Users can assign devices to rooms to more easily control all devices in a particular room. Deleting a room removes all assigned devices from the room.
Example:
				
					{
    "id": "ui_broadcast",
    "msg_subclass": "hub.room.deleted",
    "initiator": {
        "api_name": "some api name here",
        "connection_type": "UI",
        "peer_unique_id": "23/3"
    },
    "result": {
        "_id": "_OBJECT_ID_"
    }
}