DewaVPS

Create block storage

POST
/storage/blocks/create

Create a new block storage volume in a specific location.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.dewavps.com/v1/storage/blocks/create" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'name=string'
{
  "message": "Block storage will be created in a moment.",
  "data": {
    "block_storage_id": "a9010449-7d8e-4cfb-b90b-48c901f3dba7"
  }
}