Documentation is now available for the Fall 2020 Update release!

Set NTP servers

This endpoint is used to update the NTP server IP addresses on the gateway.

Leave Feedback

URL

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

Sample URLs

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

Sample cURL

curl -k -X POST https://{GatewayIP}:5480/api/v2/ntpupdateips 
-H 'Accept: application/json' 
-H 'Authorization: Token <TOKEN>' 
{ 
    "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

{"Success”:"Successfully updated NTP IP addresses."}