Update scene


All properties with new value or old value are required to full update a scene

PUT /v4/sites/{siteId}/scenes/{sceneId}
Parameters
siteId
uuid required
-
sceneId
uuid required
-
Request #1
Headers
Content-Type application/json
Accept application/json
Authorization Bearer `Your Access Token`
{
    "name": "Scene #2",
    "spaceId": "b2cba611-c46c-4dfe-8fb0-53754c13f66e",
    "applyList": [{
        "objectId": "dca3f0db-7998-498d-875f-92ec2d7e3d49",
        "state": {
            "on": true,
            "bri": 255
        }
    }]
}
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "spaceId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "applyList": {
      "type": "array",
      "minItems": 1,
      "items": [
        {
          "type": "object",
          "properties": {
            "objectId": {
              "type": "string"
            },
            "state": {
              "type": "object",
              "properties": {
                "on": {
                  "type": "boolean"
                },
                "bri": {
                  "type": "number"
                }
              },
              "required": [
                "on",
                "bri"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "objectId",
            "state"
          ],
          "additionalProperties": false
        }
      ],
      "additionalItems": false
    }
  },
  "required": [
    "spaceId",
    "applyList"
  ]
}

Response 204