Location

This subsection offers endpoints for retrieving location data, enabling users to pinpoint the geographical regions where resources can be instantiated. It's instrumental for users seeking to distribute their resources strategically across data centers or regions.

Get locations

GET {{BASE_URL}}/api/providers/{id}/locations

Get all the available locations that can be used to create a particular resource type ( vm, k8s, db , app ).

Path Parameters

Name
Type
Description

id*

String

Provider ID

Headers

Name
Type
Description

Authorization*

String

Bearer Token

[
    {
        "_id": "6548a383e2442d14b6bf969f",
        "provider": "6548a383e2442d14b6bf9687",
        "physicalLocation": "Ireland",
        "code": "IE",
        "datacenters": [
            {
                "name": "northeurope",
                "displayName": "North Europe"
            }
        ]
    },
    {
        "_id": "6548a383e2442d14b6bf96a0",
        "provider": "6548a383e2442d14b6bf9687",
        "physicalLocation": "Netherlands",
        "code": "NL",
        "datacenters": [
            {
                "name": "westeurope",
                "displayName": "West Europe"
            }
        ]
    }
]

Last updated