Set management server settings
Set management server settings.
If Link is enabled - Link will sync identifiers, access rules, logs etc.
If realtime logging is enabled - panel will send the logs in realtime to the server.
If heartbeat is enabled - panel will send keep alive to the server every 10 seconds. When MQTT protocol is used heartbeat is enabled by default.
- application/json
Request Body required
- is_enabled boolean requiredDetermines whether the Link server interaction is enabled 
- protocol string requiredPossible values: [ http,mqtt]Defines the protocol for interaction with the Link server 
- settings object required- Determines protocol-specific settings anyOf- MOD1
- MOD2
 url ipv4|dns- Server address password string- Device Link server authorization password is_encrypted boolean- If enabled you can provide custom certificate with - POST /network/management/settings/certificateor device will use default one.url string required- Server address. Address must include http(s):// prefix password string required- Device Link server authorization password is_heartbeat_enabled boolean required- If enabled device will send keep alive request every 10 seconds 
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Enabled
- Disabled
Schema
- operation_delay integerTime after which the settings will be applied in milliseconds 
{
  "operation_delay": 0
}
{
  "operation_delay": 5000
}
{
  "operation_delay": 0
}
Validation error.
- Wrong url
- Wrong password
- Missed json body
- Wrong protocol
- Required field is not provided. Response sample:
  "error": "Wrong JSON body: no value for `param`"
where param - is a required field that was not provided
- Field was of the wrong type. Response sample:
  "error": "Wrong JSON body: value `param` was of the wrong type"
where param - is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Wrong url
- Wrong password
- Wrong protocol
- Base
- No value
- Wrong param type
Schema
- error stringError information 
{
  "error": true
}
{
  "error": "Wrong url"
}
{
  "error": "Wrong password"
}
{
  "error": "Wrong protocol"
}
{
  "error": "Missed json body"
}
{
  "error": "Wrong JSON body: no value for `param`"
}
{
  "error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError information 
{
  "error": "Log In"
}
{
  "error": "Log In"
}