Python
import requests url = "https://platform.ankra.app/api/v1/clusters/hetzner/locations" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
[ { "name": "<string>", "description": "<string>", "city": "<string>", "country": "<string>", "network_zone": "<string>" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Hetzner credential ID to use for API access
Locations retrieved from Hetzner API