Hetzner hcloud icon

Hetzner hcloud

Interact with the cloud api of the german infrastructure provider Hetzner.

Actions47

Firewall → Update

AI-generated

Summary

Update the properties of an existing firewall in Hetzner Cloud by its ID, modifying its name and/or user-defined labels.

Inputs

  • Firewall Id (required) — ID of the firewall to update, selected from existing firewalls.
  • Name — New name to assign to the firewall.
  • Labels — User-defined key-value label pairs to set on the firewall.

Output shape

a single JSON object representing the updated firewall resource

The output contains the updated firewall details after applying changes. Only fields provided (name, labels) will be updated; others remain unchanged.

Examples

Example 1: Update firewall name and add labels

Specify the firewall by ID, provide a new name string, and add multiple labels as key-value pairs to update the firewall.

Links

Discussion