Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Floating IP → Change Protection

AI-generated

Summary

Sets or clears delete protection on a Hetzner Cloud Floating IP by POSTing to its change_protection action endpoint, and returns the resulting action object.

Inputs

  • Floating IP (required) — The Floating IP to modify. Pick from a searchable list (up to 50 Floating IPs, labelled by name, IP or ID) or enter its numeric ID. The ID is placed in the request URL.
  • Delete Protection — Boolean, defaults to true. When true the Floating IP is protected against deletion. When false the protection is removed. Sent as delete in the request body.
  • Request Options — Optional node settings: batching (items per batch and interval between batches), ignore SSL issues, HTTP proxy, and request timeout in ms (default 10000).

Output shape

A single Hetzner action record (the action property of the API response) describing the change_protection job, including its status, command and progress.

The result is the action object, not the updated Floating IP. Fetch the Floating IP with the Get operation to confirm the new protection state. API errors, such as an invalid ID or bad credentials, fail the node. Requires Hetzner Cloud API credentials.

Examples

Example 1: Protect a production Floating IP from accidental deletion

Floating IP: select from list (e.g. prod-ingress); Delete Protection: true.

Example 2: Remove protection before deleting a Floating IP in a cleanup workflow

Floating IP: By ID using an expression such as {{ $json.id }}; Delete Protection: false. Then run the Delete operation.

Links

Discussion