/system/set-date-time

Use the interface to set the NTP function.

Request Mode

POST /api/system/set-date-time
Parameter Description
ntp-enable Whether to enable NTP
ntp-server1 The NTP server 1
ntp-server2 The NTP server 2
time Local time
Time format: yyyy-MM-dd HH:mm:ss

Response Body

{
    "status": 0
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""