/config/modbus/server/enable/{idx}

The name of a protocol that is enabled.

Get /config/modbus/server/enable/{idx}

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an enabled Modbus protocol.

Responses
200

Normal response.

401

Unauthorized response.

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

Replace /config/modbus/server/enable/{idx}

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an enabled Modbus protocol.

Request Body schema: application/json
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/{idx}
Request samples
application/json
"rtu"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/modbus/server/enable/{idx}

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an enabled Modbus protocol.

Request Body schema: application/json
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/{idx}
Request samples
application/json
"rtu"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/modbus/server/enable/{idx}

Disable this protocol.

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an enabled Modbus protocol.

Responses
200

Normal response.

401

Unauthorized response.

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