[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Update Product NTP Settings V2

Description

This API is used to update a product NTP settings. Its recommended to trigger get NTP settings API, before performing this operation.

Request

Request

URL

URL


put
https://localhost:8080/lcm/lcops/api/v2/settings/ntp-servers
Copy

Request Body

Request Body

NTPConfigurationDTO of type(s) application/json Required

ntpConfigurationDTO

{
	"hostName": "FQDN of NTP server",
	"name": "ntp-server1"
}
string
hostName Optional

NTP hostname


string
name Optional

NTP server name

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

201 Created returns NTPConfigurationDTO of type(s) application/json
{
	"hostName": "FQDN of NTP server",
	"name": "ntp-server1"
}
string
hostName Optional

NTP hostname


string
name Optional

NTP server name

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found



500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"hostName":"FQDN of NTP server","name":"ntp-server1"}' https://localhost:8080/lcm/lcops/api/v2/settings/ntp-servers


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Settings Controller Operations
Feedback

Was this page helpful?