Actions111
- Action Actions
- Certificate Actions
- Datacenter Actions
- Firewall Actions
- Floating IP Actions
- Image Actions
- ISO Actions
- Load Balancer Actions
- Load Balancer Type Actions
- Location Actions
- Network Actions
- Placement Group Actions
- Pricing Actions
- Primary IP Actions
- Server Actions
- Server Type Actions
- SSH Key Actions
- Volume Actions
Primary IP → Create
AI-generatedSummary
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.