2.3 KiB
Return to top
Get Hetzner Locations
===========================================================================================================================
GET
/hetzner/locations
Get all available Hetzner datacenter locations.
Authorizations
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Parameters
Query Parameters
cloud_provider_token_uuid
Cloud provider token UUID. Required if cloud_provider_token_id is not provided.
Type
string
cloud_provider_token_id
Deprecated: Use cloud_provider_token_uuid instead. Cloud provider token UUID.
Type
string
Responses
200401404
List of Hetzner locations.
Content-Type
application/json
SchemaJSON
JSON
[
{
"id": 0,
"name": "string",
"description": "string",
"country": "string",
"city": "string",
"latitude": 0,
"longitude": 0
}
]
GET
/hetzner/locations
Playground
Authorization
bearerAuth
Variables
Key
Value
cloud_provider_token_uuid
cloud_provider_token_id
Try it out
Samples
Powered by VitePress OpenAPI