Set brightness of devices by activating a preset scene


POST /v4/sites/{siteId}/apply
Parameters
siteId
uuid required
-
Set devices' states to ones defined in a scene

This request will run the state on light(s) defined in a scene. In a scene, there are already state defined, so no need to provide state in the request body.

Headers
Content-Type application/json
Accept application/json
Authorization Bearer `Your Access Token`
{
    "action": "sceneOn",
    "targetSceneId": "83d4e8a9-abaa-47ef-9647-c0e4482c36c2"
}
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "targetSceneId": {
      "type": "string"
    }
  },
  "required": [
    "targetSceneId"
  ]
}

Response 204