Important
An access token must be generated to use this API.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
Header | Value |
---|---|
Authorization | Token {accessToken} |
Content-type | application/json |
Accept | application/json |
Parameters
The fields are mandatory.
Field | Data Type | Description |
---|---|---|
ntpArray | String | NTP 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."}