Documentation is now available for the Fall 2020 Update release!

Synchronize NTP servers

This endpoint is used to synchronize the time from the NTP servers on the gateway.

Leave Feedback

URL

POST https://{gatewayIp}:5480/api/v2/ntpsyncips

Sample URLs

https://192.168.xxx.xxx:5480/api/v2/ntpsyncips

Sample cURL

curl -k -X POST https://{GatewayIP}:5480/api/v2/ntpsyncips 
-H 'Accept: application/json' 
-H 'Authorization: Token <TOKEN>' 
{ 
    "ntpArray": "ntpArray": "192.168.xx.xx,172.26.xx.xx" 
}

Header format

HeaderValue
AuthorizationToken {accessToken}
Content-typeapplication/json
Acceptapplication/json

Parameters

The fields are mandatory.

FieldData TypeDescription
ntpArrayStringNTP server IP addresses.

Status code

200 OK

Sample request

{
    "ntpArray": "192.168.xx.xx,172.26.xx.xx"
}

Sample response

{"Server IPs":"Successfully synchronized date using NTP."}