Skip to main content

Update system timezone

PUT 

/node/:hostname/timezone

Set the system timezone on the target node. Idempotent: returns changed false when the timezone already matches.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

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

Body

required

Timezone update parameters.

    timezone stringrequired

    IANA timezone name (e.g., "America/New_York", "UTC").

Responses

Timezone 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.

    timezone string

    Timezone that was set.

    changed boolean

    Whether the operation modified system state.

    error string

    Error message if the agent failed.

  • ]

Loading...