Set timezone

This endpoint is used to set the timezone on the gateway.

Leave Feedback

URL

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

Sample URLs

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

Sample cURL

curl -k -X POST https://{GatewayIP}:5480/api/v2/settimezone 
-H 'Accept: application/json' 
-H 'Authorization: Token <TOKEN>' 
{ 
    "timezone": "<zone>"
}

Header format

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

Parameters

The fields are mandatory.

FieldData TypeDescription
timezoneStringNTP service timezone.

Status code

200 OK

Sample request

{
    "timezone": "UTC"
}

Sample response

{"Success":"UTC Time Zone Successfully updated"}