set-ntp-server
Use the interface to configure NTP service, and only the Administrator has the right.
HTTP Request
GET http://ip/mwapi?method=set-ntp-server&ntp-server=ntp.aliyun.com
Parameter | Description |
---|---|
method | set-ntp-server |
ntp-server | NTP server address |
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. |