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 Placement Groups API

Placement groups are used to influence the location of interdependent virtual servers in our data centers. The distribution of the different servers within a group is based on a pattern specified in the type. By enforcing certain rules on the placement of servers within our infrastructure, availability can be influenced in a way that fits your needs best.In `spread` placement groups, all virtual servers will run on different physical servers. This decreases the probability that some servers might fail together.

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

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

This API exposes 5 operations across 2 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.

5 operations 2 paths 0 schemas 1 DELETE2 GET1 POST1 PUT

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 Placement Groups API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (APIToken). By default, every request must be authenticated.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Placement Groups 5

Placement groups are used to influence the location of interdependent virtual servers in our data centers. The distribution of the different servers within a group is based on a p…

GET
/placement_groups
List Placement Groups
list_placement_groups 6 params → 2004xx5xx
POST
/placement_groups
Create a PlacementGroup
create_placement_group body → 2014xx5xx
GET
/placement_groups/{id}
Get a PlacementGroup
get_placement_group 1 param → 2004xx5xx
PUT
/placement_groups/{id}
Update a PlacementGroup
update_placement_group 1 param body → 2004xx5xx
DELETE
/placement_groups/{id}
Delete a PlacementGroup
delete_placement_group 1 param → 2044xx5xx

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hetzner-placement-groups-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