/config/net/ntp/server/{idx}

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

Get /config/net/ntp/server/{idx}

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an NTP server.

Responses
200

Normal response.

401

Unauthorized response.

get/config/net/ntp/server/{idx}
Request samples
Response samples
application/json
{
  • "result": "north-america.pool.ntp.org",
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/ntp/server/{idx}

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an NTP server.

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

Update /config/net/ntp/server/{idx}

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an NTP server.

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

Delete /config/net/ntp/server/{idx}

Remove this NTP server.

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an NTP server.

Responses
200

Normal response.

401

Unauthorized response.

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