System Administration > Configuration > Fabric > Nodes > Services > NTP

Read NTP service properties

Request:

Method:
GET
URI Path(s):
/api/v1/transport-nodes/<transport-node-id>/node/services/ntp
/api/v1/cluster/<cluster-node-id>/node/services/ntp
/api/v1/node/services/ntp
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/node/services/ntp

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NodeNtpServiceProperties+

Example Response:

{ "_schema": "NodeNtpServiceProperties", "_self": "/node/services/ntp", "service_name": "ntp", "service_properties": { "start_on_boot": true, "servers": [ "0.ubuntu.pool.ntp.org", "1.ubuntu.pool.ntp.org", "2.ubuntu.pool.ntp.org", "3.ubuntu.pool.ntp.org", "ntp.ubuntu.com" ] } }

Required Permissions:

read

Feature:

system_administration

Additional Errors: