Skip to content

ntp_servers

Overview

Add, Delete or List NTP Servers through these APIs

Version information

Version : v2

URI scheme

Host :
BasePath : /sdwan/nitro/v2/config/
Schemes : HTTP

Tags

  • ntp_servers : Operations related to ntp_servers

Paths

POST operation for ntp_servers

POST /ntp_servers

Description

Use this operation to add a NTP server

Parameters

Type Name Schema
Body body
optional
ntp_servers_request_schema

Responses

HTTP Code Description Schema
200 Resource successfully added ntp_servers_post_success_schema
400 Failed: bad input parameter ErrorSchema
401 Unauthorized: Failed Authentication ErrorSchema
403 Unauthorized: Forbidden ErrorSchema
405 Failed: Data format unacceptable ErrorSchema
415 Failed: Data format unacceptable ErrorSchema
500 Failed: Internal Server Error ErrorSchema

Consumes

  • application/json

Produces

  • application/json

Tags

  • ntp_servers

Get operation for ntp_servers

GET /ntp_servers

Description

Use this operation to list all ntp servers

Responses

HTTP Code Description Schema
200 API Successfully executed ntp_servers_response_schema
400 Failed: bad input parameter ErrorSchema
401 Unauthorized: Failed Authentication ErrorSchema
403 Unauthorized: Forbidden ErrorSchema
405 Failed: Data format unacceptable ErrorSchema
415 Failed: Data format unacceptable ErrorSchema
500 Failed: Internal Server Error ErrorSchema

Produces

  • application/json

Tags

  • ntp_servers

DELETE operation for ntp_servers

DELETE /ntp_servers/{deletePathParam}

Description

Use this operation to delete a NTP server

Parameters

Type Name Description Schema
Path deletePathParam
required
Object Primary Key for DELETE operation object

Responses

HTTP Code Description Schema
200 Resource delete added ntp_servers_delete_success_schema
400 Failed: bad input parameter ErrorSchema
401 Unauthorized: Failed Authentication ErrorSchema
403 Unauthorized: Forbidden ErrorSchema
405 Failed: Data format unacceptable ErrorSchema
415 Failed: Data format unacceptable ErrorSchema
500 Failed: Internal Server Error ErrorSchema

Produces

  • application/json

Tags

  • ntp_servers

Definitions

ErrorSchema

Name Schema
errorcode
optional
integer
errormessage
optional
string

address

Address for the NTP Server

Type : string

ntp_servers

Name Schema
address
optional
address

ntp_servers_delete_success_schema

Name Schema
ntp_servers
optional
ntp_servers

ntp_servers

Name Description Schema
message
optional
Example : "resource deleted succesfully" string

ntp_servers_post_success_schema

Name Schema
ntp_servers
optional
ntp_servers

ntp_servers

Name Description Schema
message
optional
Example : "resource added succesfully" string

ntp_servers_put_success_schema

Name Schema
ntp_servers
optional
ntp_servers

ntp_servers

Name Description Schema
message
optional
Example : "resource modified succesfully" string

ntp_servers_request_schema

Name Schema
ntp_servers
optional
ntp_servers

ntp_servers_response_schema

Type : < ntp_servers_response_schema > array

ntp_servers_response_schema

Name Schema
address
optional
address
Was this article helpful?