/config/net/hostname

The hostname of the meter. Must consist of ASCII letters, digits, and dashes only.

Get /config/net/hostname

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

get/config/net/hostname
Request samples
Response samples
application/json
{
  • "result": "eGauge42",
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/hostname

SecurityApiKey
Request
Request Body schema: application/json
string (configNetHostname)

The hostname of the meter. Must consist of ASCII letters, digits, and dashes only.

Responses
200

Normal response.

401

Unauthorized response.

put/config/net/hostname
Request samples
application/json
"eGauge42"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/hostname

SecurityApiKey
Request
Request Body schema: application/json
string (configNetHostname)

The hostname of the meter. Must consist of ASCII letters, digits, and dashes only.

Responses
200

Normal response.

401

Unauthorized response.

post/config/net/hostname
Request samples
application/json
"eGauge42"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/hostname

Reset to empty string.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

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