Skip to main content

Update NTP configuration

PUT 

/node/:hostname/ntp

Replace the managed NTP server configuration on the target node. Fails if not currently managed.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

Body

required

NTP update parameters.

    servers string[]required

    List of NTP server addresses to configure.

Responses

NTP configuration updated.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    Hostname of the agent that processed this operation.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    changed boolean

    Whether the operation modified system state.

    error string

    Error message if the agent failed.

  • ]

Loading...