Skip to main content

Set management server settings

Configures the management server connection.

If Link is enabled, the server will sync identifiers, access rules, logs, etc.

If realtime logging is enabled, the device will send logs to the server in real time.

If heartbeat is enabled, the device will send a keep-alive to the server every 10 seconds. When the MQTT protocol is used, heartbeat is enabled by default.

Request Body required
  • is_enabled boolean required

    Determines whether the Link server interaction is enabled

  • protocol string required

    Possible values: [http, mqtt]

    Defines the protocol for interaction with the Link server

  • settings object required

    Determines protocol-specific settings

    anyOf

  • url ipv4|dns

    Server address

  • password string

    Device Link server authorization password

  • is_encrypted boolean

    Enables TLS encryption for the MQTT connection. A custom certificate can be uploaded with POST /network/management/server/certificate; otherwise the built-in default is used.

Responses

OK


Schema
  • operation_delay integer

    Time after which the settings will be applied in milliseconds

Loading...