# datacenter on POST /v1/servers stops working

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

- API: Hetzner Cloud API (api.hetzner.cloud)
- Kind: Endpoint removal
- Announced: December 16, 2025
- Takes effect: July 1, 2026
- Calls after that day: fail
- Calls it hits: `POST /v1/servers`, `body parameter datacenter`
- Source: [Announcement](https://docs.hetzner.cloud/changelog)
- Page: https://www.okapi.bot/providers/hetzner-cloud-api/breaking-changes/datacenter-on-post-v1-servers-stops-working/

## What to use instead

Send location instead of datacenter when creating a server.

## Hetzner Cloud API's words

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