hcloud_delete_primary_ip
Deletes a Hetzner Cloud Primary IP by ID. Requires the assigned server to be powered off; if still assigned, it is unassigned automatically until May 1, 2026.
Instructions
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. After this date, the Primary IP needs to be unassigned before it can be deleted.
Operation specific errors
Status | Code | Description |
|
| Error when IP is still assigned to a Resource. This error will appear as of 1 May 2026. |
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the Primary IP. |