Set security zones settings
Set security zones settings. Available only on the master device.
- application/json
Request Body required
- zones object[]- Possible values: - <= 8- List of security zones zone_id integer required- Possible values: - >= 1and- <= 8- ID of zone type string required- Possible values: [ - normal,- emergency,- 24_hour]- Zone type. Normal - work only if enabled in scene, 24 and emergency will work all the time mode string required- Possible values: [ - 3c,- no,- nc,- bell,- call]- Dry contacts mode. 3c - trigger, no - normal open, nc - normal closed, bell - doorbell mode delay integer required- Possible values: [ - 0,- 5,- 15,- 20,- 25,- 40,- 60]- Delay for sensor activation in seconds sensor string required- Possible values: [ - smoke,- gas,- pir,- door,- window,- panic,- flood,- pull_cord,- bed_mat]- Sensor type 
- 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 a 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 a string"
    }
  }
}
{
  "error": {
    "code": "invalid_authentication",
    "message": "Log In"
  }
}