Skip to main content

Update NTP Template (v2.0)

PUT 

/v2.0/api/tenants/:tenant_id/templates/ntp/:ntp_id

Update an existing NTP template.

Request

Path Parameters

    tenant_id stringrequired

    ID of the tenant.

    ntp_id stringrequired

    The NTP configuration ID.

Body

Details of the NTP template to be updated

    default_template boolean

    The default NTP template.

    description

    The description of the Network Time Protocol (NTP) configuration. Max characters = 256.

    id string

    The ID of the NTP configuration template.

    name stringrequired

    The name of the NTP configuration. Max characters = 128.

    ntp_servers NTPServer[]required

    The configured NTP servers. A minimum of 1 and a maximum of 10 NTP servers can be configured.

  • Array [
  • host stringrequired

    The host IP address or domain name.

    max_poll int32required

    The maximum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Max Poll can be set between 4 and 17.

    min_poll int32required

    The minimum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Min Poll can be set between 4 and 17.

    version int32required

    The version of the NTP configuration. NTP versions 2, 3 and 4 are supported.

  • ]
  • tags string[]

    A information field that can be added to identify the NTP configuration.

Responses

Successful Operation

Schema
    default_template boolean

    The default NTP template.

    description

    The description of the Network Time Protocol (NTP) configuration. Max characters = 256.

    id string

    The ID of the NTP configuration template.

    name stringrequired

    The name of the NTP configuration. Max characters = 128.

    ntp_servers NTPServer[]required

    The configured NTP servers. A minimum of 1 and a maximum of 10 NTP servers can be configured.

  • Array [
  • host stringrequired

    The host IP address or domain name.

    max_poll int32required

    The maximum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Max Poll can be set between 4 and 17.

    min_poll int32required

    The minimum polling interval. It specifies the polling intervals for NTP messages in seconds as a power of two.The values of Min Poll can be set between 4 and 17.

    version int32required

    The version of the NTP configuration. NTP versions 2, 3 and 4 are supported.

  • ]
  • tags string[]

    A information field that can be added to identify the NTP configuration.

Loading...