Skip to main content
GET
/
api
/
v1
/
clusters
/
ovh
/
regions
List OVH regions available to a credential
import requests

url = "https://platform.ankra.app/api/v1/clusters/ovh/regions"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "regions": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Query Parameters

credential_id
string<uuid>
required

Response

Regions retrieved successfully

regions
string[]
required