DewaVPS

Get locations

GET
/locations

Retrieve the list of available data center locations.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Response Body

application/json

curl -X GET "https://api.dewavps.com/v1/locations"
{
  "message": "Daftar lokasi data center",
  "data": [
    {
      "id": 0,
      "name": "string",
      "hostname": "string"
    }
  ]
}