Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

SSH Key → Update

AI-generated

Summary

Updates a Hetzner Cloud SSH key by sending a PUT request for the selected key. You can change its name and supply additional API request body fields as JSON; the response is unwrapped to the SSH key record.

Inputs

  • SSH Key (required) — Select a key from the searchable list or enter its ID.
  • Name — New unique name for the key; sent as the request body's name field.
  • Additional Body Fields (JSON) — Extra request body properties as JSON. The package declares this field as merged into the request body; use it for fields not exposed separately.
  • Request Options — Optional batching, SSL certificate validation, HTTP proxy, and request timeout settings.

Output shape

A single SSH key record.

The response's ssh_key property is unwrapped. The selected key ID is placed in the request URL.

Links

Discussion