5.1.6 api system time set
Note
- This function was replaced with the api system time PUT method in firmware version 2.44.
The /api/system/time/set function is used for device time setting.
The GET or POST method can be used for the function.
The function is part of the System service and the user has to be assigned the System (Control) privilege for authentication if required.
Request parameters:
Parameter | Description |
---|---|
time | number = unix time, min 0, max 2147483647 |
The response is in the application/json format.
Example:
{ "success" : true }
Caution
- We recommend that this endpoint is used for time setting only in case the Use time from Internet parameter is disabled. If it is enabled, the time value is overwritten with a value from the NTP server or the My2N time service.