[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrms-appliance-config-api

Update Time Settings

Description

Update the current time settings.

Request

Request

URL

URL


put
https://{api_host}//appliance/settings/time
Copy

Request Body

Request Body

UpdateTimeSettingsSpec of mimetype application/json Optional

The time settings to be updated.

{
	"synchronization": {
		"mode": "DISABLED",
		"ntp_servers": [
			"string"
		]
	},
	"zone": "string"
}
synchronization Optional

Time synchronization settings.


string
zone Optional

Current time zone

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

The time settings are updated.

Errors

Errors

ResponseError
400

Bad request - the server could not understand the request due to invalid syntax or invalid request body content


401

Unauthorized - the client must authenticate itself to get the requested response


ResponseError
403

Forbidden - not sufficient access rights to fulfill the request


ResponseError
500

Internal server error - unexpected condition prevents fulfilling the request

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"synchronization":{"mode":"DISABLED","ntp_servers":["string"]},"zone":"string"}' https://{api_host}/appliance/settings/time


[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrms-appliance-config-api
Feedback

Was this page helpful?