Okapi Okapi

Hetzner Cloud API · Endpoint removal

datacenter on POST /v1/servers stops working

Stopped working

Calls to POST /v1/servers, body parameter datacenter on Hetzner Cloud API stopped working on July 1, 2026.

What to use instead of these calls

Send location instead of datacenter when creating a server.

Calls it hits

  • POST /v1/servers
  • body parameter datacenter

We deprecated the datacenter property in the request body and response of Servers and Primary IPs. The removal will happen after 1 July 2026.

Hetzner Cloud API, Announcement

Facts

API
Hetzner Cloud API api.hetzner.cloud
Kind
Endpoint removal
Announced
December 16, 2025
Takes effect
July 1, 2026
Calls after that day
Fail
Source
Announcement
Last updated

More from Hetzner Cloud API

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub