Skip to main content

Update a CA certificate

PUT 

/node/:hostname/certificate/ca/:name

Update an existing CA certificate on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

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

    name stringrequired

    Possible values: non-empty, Value must match regular expression ^[a-zA-Z0-9_-]+$

    Certificate name. Must contain only alphanumeric characters, underscores, and hyphens.

Body

required

CA certificate update parameters.

    object stringrequired

    Object Store reference for the new PEM file.

Responses

CA certificate 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.

    name string

    Certificate name.

    changed boolean

    Whether the operation modified system state.

    error string

    Error message if the agent failed.

  • ]

Loading...