Get Time Settings
Get Time Settings (NTP, Date & Timezone)
Retrieves current time settings for the HCX Manager appliance including NTP servers, current date/time, and timezone configuration.
Request
URI
GET
https://{server}:9443/system/timesettings
COPY
Authentication
This operation uses the following authentication methods.
Responses
200
Successfully retrieved time settings
Returns
TimeSettingsConfiguration
of type(s)
application/json
{
"ntpServer": [
"pool.ntp.org",
"time.google.com"
],
"datetime": "Nov 14 2025 10:30:00",
"timezone": "America/Los_Angeles"
}
array of
string
ntpServer
Optional
List of NTP server hostnames or IP addresses
string
datetime
Optional
Manual date/time (only when NTP not configured). Format is 'MMM dd yyyy HH:mm:ss'
string
timezone
Optional
Timezone identifier (e.g., America/Los_Angeles, UTC, Europe/London)
500
Internal server error - Failed to retrieve time settings
Returns
ErrorResponse
of type(s)
application/json
{
"isSuccess": false,
"message": "Request schema validation failed",
"httpStatusCode": 400
}
boolean
isSuccess
Required
Indicates if the operation was successful
string
message
Required
Human-readable error message
integer
httpStatusCode
Required
HTTP status code
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/system/timesettings
System Configuration Operations
GET
Get Nsp Configuration
Deprecated
POST
Create Nsp Configuration
Deprecated
PUT
Update Nsp Configuration
Deprecated
GET
Get Static Routes
PUT
Configure Static Route
GET
Get Network Settings
PUT
Configure Dns Settings
DELETE
Remove Dns Settings
GET
Get Time Settings
PUT
Configure Time Settings
DELETE
Remove Ntp Settings
PUT
Change Appliance Password
GET
Get Apache Proxy Configuration
Deprecated
POST
Configure Apache Proxy
Deprecated