Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Firewall → Get Many

AI-generated

Summary

Lists firewalls in the Hetzner Cloud project via GET /v1/firewalls, with optional paging and filtering by label selector or exact name.

Inputs

  • Limit — Max results per request, sent as per_page. Range 1–50, default 50.
  • Options > Page — 1-based page number of results to fetch (query param page).
  • Options > Label Selector — Hetzner label selector expression, e.g. env=prod, to filter firewalls by labels.
  • Options > Name — Return only firewalls whose name exactly matches this value.
  • Request Options — Node settings for batching (items per batch, interval), ignoring SSL issues, proxy, and timeout (default 10000 ms).

Output shape

The firewalls array from the API response, unwrapped from the 'firewalls' root property, so each firewall comes out as its own item (id, name, labels, rules, applied_to, etc.).

Not auto-paginated: one request returns at most Limit items (max 50). Use Options > Page to fetch further pages. Requires Hetzner Cloud API credentials.

Examples

Example 1: Find all firewalls tagged for production

Operation: Get Many; Options > Label Selector = env=prod; Limit = 50

Example 2: Look up a firewall by its exact name

Operation: Get Many; Options > Name = web-firewall

Example 3: Fetch the second page of firewalls in small chunks

Operation: Get Many; Limit = 10; Options > Page = 2

Links

Discussion