GET
/hetzner/locationsList available Hetzner locations
Lists the available Hetzner datacenter locations. Provide cloud_provider_token_uuid to identify the cloud provider token, or use the deprecated cloud_provider_token_id parameter instead.
cloud_provider_token_uuidstringoptional
The UUID of the cloud provider token. Use this parameter if `cloud_provider_token_id` is not provided.
cloud_provider_token_idstringoptional
The cloud provider token UUID. Deprecated; use `cloud_provider_token_uuid` instead.
200Returns an array of available Hetzner locations, including each location's name, city, country, description, and coordinates.
citystringoptional
countrystringoptional
descriptionstringoptional
idintegeroptional
latitudenumberoptional
longitudenumberoptional
namestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the requested resource is not found.
messagestringoptional
Error handling
A 401 is returned when the request is unauthenticated, and a 404 is returned when the requested resource is not found. Provide cloud_provider_token_uuid unless you use the deprecated cloud_provider_token_id parameter.