{
  "id":"_ID_",
  "jsonrpc":"2.0",
  "api": "1.0",
  "method":"hub.scenes.device.group.update",
  "params":{
    "id": "<deviceGroupId>",
    "name": "_DEVICE_GROUP_NAME_",
    "categories": [
      { "category": "security_sensor", "subcategories": [ "co2", "leak" ]  }
      { "category": "scene_controller", "exceptions": [ "panic" ] }
    ],
    "devices": [],
    "exceptions": [],
    "persistent": false
  }
}