ntp server hostname

IPV4 address

hostname Specification

Type Collection
Object Key(s) host-servername
Collection Name hostname-list
Collection URI /axapi/v3/ntp/server/hostname/
Element Name hostname
Element URI /axapi/v3/ntp/server/hostname/{host-servername}
Element Attributes hostname_attributes
Schema hostname schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/ntp/server/hostname/

hostname Attributes

Create List

POST

/axapi/v3/ntp/server/hostname/

hostname Attributes

Get Object

GET

/axapi/v3/ntp/server/hostname/{host-servername}

hostname Attributes

Get List

GET

/axapi/v3/ntp/server/hostname/

hostname-list

Modify Object

POST

/axapi/v3/ntp/server/hostname/{host-servername}

hostname Attributes

Replace Object

PUT

/axapi/v3/ntp/server/hostname/{host-servername}

hostname Attributes

Replace List

PUT

/axapi/v3/ntp/server/hostname/

hostname-list

Delete Object

DELETE

/axapi/v3/ntp/server/hostname/{host-servername}

hostname Attributes

hostname-list

hostname-list is JSON List of hostname Attributes

hostname-list : [

hostname Attributes

action

Description: ‘enable’: Enable this NTP server; ‘disable’: Disable this NTP server;

Type: string

Supported Values: enable, disable

Default: enable

host-servername

Description: IPV4 address, IPV6 address or host name of NTP server(string1~63)

Type: string

Required: Yes

key

Description: Use trusted key to authenticate this NTP server (The trusted key number to use)

Type: number

Range: 1-65535

Reference Object: /axapi/v3/ntp/trusted-key

prefer

Description: Set this NTP server as preferred

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

uuid

Description: uuid of the object

Type: string