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 required
- protocol string required
Possible values: [
http
,mqtt
] settings object required
oneOf- MOD1
- MOD2
url ipv4 or dns requiredServer address
password string requiredis_logging_enabled boolean requiredis_encrypted boolean requiredIf enabled you can provide custom sertificate with
POST /network/management/settings/certificate
or device will use default one.url ipv4 or dns requiredServer address
password string requiredis_logging_enabled boolean requiredis_heartbeat_enabled boolean requiredIf enabled device will send keep alive request every 10 seconds
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringPossible values: [
invalid_authentification
,permission_denied
,not_valid
,system_error
]Error code
message stringError 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
{
"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
code stringPossible values: [
invalid_authentification
,permission_denied
,not_valid
,system_error
]Error code
message stringError 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
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentification",
"message": "Log In"
}
}