/config/modbus/server/enable

The list of protocols (if any) that are enabled in the Modbus server. An empty list indicates that the Modbus server is disabled.

Valid protocol names are:

Get /config/modbus/server/enable

SecurityApiKey
Request
query Parameters
max-depth
integer >= 1

Limit output depth of the response. See Max-Depth.

Example: max-depth=2
filter
string

Response filter string. See Filter-Spec.

Example: filter={foo,bar}
Responses
200

Normal response.

401

Unauthorized response.

get/config/modbus/server/enable
Request samples
Response samples
application/json
{
  • "result": [
    ],
  • "error": "Error message (present if an error occurred)."
}

Replace /config/modbus/server/enable

SecurityApiKey
Request
Request Body schema: application/json
Array
string (configModbusServerEnableItem)

The name of a protocol that is enabled.

Enum: "rtu" "tcp"
Responses
200

Normal response.

401

Unauthorized response.

put/config/modbus/server/enable
Request samples
application/json
[
  • "rtu"
]
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/modbus/server/enable

SecurityApiKey
Request
Request Body schema: application/json
Array
string (configModbusServerEnableItem)

The name of a protocol that is enabled.

Enum: "rtu" "tcp"
Responses
200

Normal response.

401

Unauthorized response.

post/config/modbus/server/enable
Request samples
application/json
[
  • "rtu"
]
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/modbus/server/enable

Reset to empty array.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/modbus/server/enable
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}