Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hetzner Primary IP Actions API

The Primary IP Actions API from Hetzner — 8 operation(s) for primary ip actions.

Hetzner Primary IP Actions API is one of 32 APIs that Hetzner publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Primary IP Actions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a getting-started guide.

This API exposes 8 operations across 8 paths. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.hetzner.cloud/v1.

8 operations 8 paths 0 schemas 4 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.hetzner.cloud/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Hetzner Primary IP Actions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (APIToken). By default, every request must be authenticated.

Paths & Operations 8

Across 8 paths, the API surfaces 8 operations — 4 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Primary IP Actions 8
GET
/primary_ips/actions
List Actions
list_primary_ips_actions 5 params → 2004xx5xx
GET
/primary_ips/actions/{id}
Get an Action
get_primary_ips_action 1 param → 2004xx5xx
GET
/primary_ips/{id}/actions
List Actions for a Primary IP
list_primary_ip_actions 5 params → 2004xx5xx
GET
/primary_ips/{id}/actions/{action_id}deprecated
Get an Action for a Primary IP
get_primary_ip_action 2 params → 2004xx5xx
POST
/primary_ips/{id}/actions/assign
Assign a Primary IP to a resource
assign_primary_ip 1 param body → 2014xx5xx
POST
/primary_ips/{id}/actions/change_dns_ptr
Change reverse DNS records for a Primary IP
change_primary_ip_dns_ptr 1 param body → 2014xx5xx
POST
/primary_ips/{id}/actions/change_protection
Change Primary IP Protection
change_primary_ip_protection 1 param body → 2014xx5xx
POST
/primary_ips/{id}/actions/unassign
Unassign a Primary IP from a resource
unassign_primary_ip 1 param → 2014xx5xx

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hetzner-primary-ip-actions-api-openapi.yml Raw ↑

Other APIs Hetzner publishes across the network.

Hetzner DNS API
Hetzner Actions API
Hetzner Certificate Actions API
Hetzner Certificates API
Hetzner Data Centers API
Hetzner Firewall Actions API
Hetzner Firewalls API
Hetzner Floating IP Actions API
Hetzner Floating IPs API
Hetzner Image Actions API
Hetzner Images API
Hetzner ISOs API