Skip to main content

Remove SSH authorized key

DELETE 

/node/:hostname/user/:name/ssh-key/:fingerprint

Remove an SSH authorized key by fingerprint for a user 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

    User account name.

    fingerprint stringrequired

    Possible values: non-empty

    SSH key SHA256 fingerprint (e.g., SHA256:abc123...).

Responses

Key removed.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The hostname of the agent.

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