Skip to main content

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 - device will send the logs in realtime to the server.

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

Request Body required
  • is_enabled boolean required

    Describes, if Link management server function is enabled on device

  • protocol string required

    Possible values: [http, mqtt]

    Network protocol used to connect to the management server

  • settings object required

    Describes protocol settings for picked protocol

    oneOf

  • url host required

    Server host address. Also port can be specified with colon

  • password ascii required

    Possible values: non-empty and <= 32 characters

    Password use for authenticate device on Link server

  • is_logging_enabled boolean required

    Device send logs to Link server, if option is enabled

  • is_encrypted boolean required

    If enabled you can provide custom certificate with POST /network/management/settings/certificate or device will use default one.

Responses

OK

Loading...