DewaVPS

Get block storage types

GET
/storage/blocks/types

Retrieve the available block storage types for a specific location.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Query Parameters

location_id*integer

ID of the location

Response Body

application/json

curl -X GET "https://api.dewavps.com/v1/storage/blocks/types?location_id=0"
{
  "message": "Block storage types",
  "data": [
    {
      "id": 0,
      "type": "HDD",
      "description": "string",
      "price_per_hour": 0,
      "price_per_month": 0
    }
  ]
}