DewaVPS

Get available block storages

GET
/storage/blocks/options

Retrieve a list of available (non-attached) block storages 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/options?location_id=0"
{
  "message": "Available non-attached block storage",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "size": "50GB"
    }
  ]
}