Set security scenes settings and activation time
Set all the scenes activation settings
- application/json
Request Body required
- activation_time integer requiredPossible values: [ 0,30,40,60,100,300]Time before scene activation. 0 means that scene will be activated without delay 
- zones object[] required- Possible values: - <= 8- List of zones zone_id integer required- Possible values: - >= 1and- <= 8- Zone ID, from 1 to 8 scene_out boolean required- Boolean for Out scene, sensor activates if enabled scene_home boolean required- Boolean for Home scene, sensor activates if enabled scene_sleep boolean required- Boolean for Sleep scene, sensor activates if enabled 
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- error object- Describes the base error user might get code string- Possible values: [ - invalid_authentication,- permission_denied,- not_valid,- system_error]- Error code message string- Error message - data object- Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc. param string- Describes the parameter that did not pass a validation 
{
  "error": {
    "code": "not_valid",
    "message": "Data validation error",
    "data": {
      "param": "must be an string"
    }
  }
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error object- Describes the base error user might get code string- Possible values: [ - invalid_authentication,- permission_denied,- not_valid,- system_error]- Error code message string- Error message - data object- Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc. param string- Describes the parameter that did not pass a validation 
{
  "error": {
    "code": "not_valid",
    "message": "Data validation error",
    "data": {
      "param": "must be an string"
    }
  }
}
{
  "error": {
    "code": "invalid_authentication",
    "message": "Log In"
  }
}