Home / Servers / Hetzner Cloud API / delete_primary_ip
Delete a Primary IP
An MCP tool from the Hetzner Cloud API server, hosted on mcp.hjlabs.in.
Delete a Primary IP Deletes a Primary IP. The Server must be powered off (status off) in order for this operation to succeed. If assigned to a Server the Primary IP will be unassigned automatically until 1 May 2026.… [DELETE /primary_ips/{id}]
Name on the gateway: hetzner_api__delete_primary_ip · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
id required | integer | ID of the Primary IP. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "hetzner_api__delete_primary_ip",
"arguments": {
"id": 0
}
}Or connect the Hetzner Cloud API server directly, which lists 178 tools including this one:
claude mcp add --transport http hj-hetzner-api https://mcp.hjlabs.in/mcp/hetzner-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the delete a primary ip tool with id set to ….