POST Time Test
Test connectivity to new NTP servers. May take up to 20 seconds per server listed.
{
"ntpServers": [
"0.vmware.pool.ntp.org",
"1.vmware.pool.ntp.org",
"2.vmware.pool.ntp.org",
"3.vmware.pool.ntp.org"
]
}
Successfully tested connectivity to NTP servers.
{
"testedNTPServers": [
{
"server": "0.vmware.pool.ntp.org",
"state": "pass"
},
{
"server": "1.vmware.pool.ntp.org",
"state": "pass"
},
{
"server": "2.vmware.pool.ntp.org",
"state": "pass"
},
{
"server": "3.vmware.pool.ntp.org",
"state": "fail"
}
]
}
The request was refused because it lacks valid authentication
credentials. This can happen if the Authorization header
was missing, or if it contained an invalid session ID.
Obtain a new session ID and retry the request,
or make an unauthenticated request without the Authorization header.
"Invalid session ID"
The request was refused because the session ID has
expired. Obtain a new session ID from /api/v1/sessions.
"Login Timeout"
Internal error while processing the client request
{
"errorMessage": "The operation failed due to an internal error."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v1/time/test