/config/net/ntp/server

The NTP servers to use.

Get /config/net/ntp/server

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/net/ntp/server
Request samples
Response samples
application/json
{
  • "result": [
    ],
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/ntp/server

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

The hostname or an IPv4 or IPv6 address of an NTP server.

Responses
200

Normal response.

401

Unauthorized response.

put/config/net/ntp/server
Request samples
application/json
[
  • "192.168.1.1",
  • "north-america.pool.ntp.org",
  • "2610:20:6f15:15::27"
]
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/ntp/server

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

The hostname or an IPv4 or IPv6 address of an NTP server.

Responses
200

Normal response.

401

Unauthorized response.

post/config/net/ntp/server
Request samples
application/json
[
  • "192.168.1.1",
  • "north-america.pool.ntp.org",
  • "2610:20:6f15:15::27"
]
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/ntp/server

Reset to empty array.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

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