Actions47
- Image Actions
- Server Type Actions
- Server Actions
- Server Action Actions
- Primary IP Actions
- Floating IP Actions
- Firewall Actions
- Certificate Actions
- Load Balancer Actions
- Network Actions
- SSH Keys Actions
- Volume Actions
Firewall → Update
AI-generatedSummary
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.