Set door sensor settings
Customize door sensor feature. There are 2 available modes:
- door_sensor
- call_button
- application/json
Request Body required
- enable boolean requireddescribes feature status, true - on / false - off 
- repeating_message_delay integer requiredPossible values: >= 5and<= 86400Time in seconds after which the panel will send the next message if the sensor is not closed 
- repeating_message_enable boolean requiredResending messages if one message is not enough 
- opening_delay integer requiredPossible values: <= 86400Time that the door sensor must be open to start sending alerts 
- available_modes string[]Possible values: [ door_sensor,call_button]door sensor - the contacts work as contacts of a door sensor, when the contacts are opened after the time specified in the parameter, the panel sends a message that the door has been open for too long call_button - when the contacts are closed, a call is made to the paired monitor or concierge 
- mode string requiredPossible values: [ door_sensor,call_button]schema describes variants of door access mode 
- 200
- 400
- 401
OK
- Field opening_delay must be in range [0-86400]
- Field repeating_message_delay must be in range [5-86400]
- application/json
- Schema
- Example (from schema)
- Wrong opening_delay
- Wrong repeating_message_delay
Schema
- error stringerror type/info 
{
  "error": true
}
{
  "error": "Field opening_delay must be in range [0-86400]"
}
{
  "error": "Field repeating_message_delay must be in range [5-86400]"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}