Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Primary IP → Create

AI-generated

Summary

Create a Hetzner Cloud Primary IP by sending a POST request with its name and IP type, plus any optional datacenter, assignee type, or additional JSON fields.

Inputs

  • Name (required) — Unique name for the Primary IP.
  • Type (required) — Choose IPv4 or IPv6; defaults to IPv4.
  • Datacenter — Datacenter name. The UI description says this is required unless the IP is assigned to a server.
  • Assignee Type — Resource type the Primary IP can be assigned to; the only option is Server, and it defaults to Server.
  • Additional Body Fields (JSON) — Extra request body properties as JSON.

Output shape

A single API response object.

The operation sends the configured fields to Hetzner Cloud's Primary IP creation endpoint. The response is not unwrapped by the node.

Links

Discussion