You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Deprecation of `datacenter` attribute for Primary IPs and Servers
6
+
7
+
The `datacenter` attribute is deprecated in the `Primary IPs` and `Servers` API resources and will be removed after 1 July 2026. See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters for more details.
8
+
9
+
The `location` attribute already exists for Servers, and was added for Primary IPs.
10
+
11
+
Therefor the `datacenter` attribute is deprecated in favor of the `location` attribute in the following commands:
12
+
13
+
-`hcloud server create`
14
+
-`hcloud server describe`
15
+
-`hcloud server list`
16
+
-`hcloud primary-ip create`
17
+
-`hcloud primary-ip describe`
18
+
-`hcloud primary-ip list`
19
+
20
+
In list commands, the `datacenter` columns is not longer shown by default, and is replaced with the `location` column.
0 commit comments