storage

Create Block Storage

Creates a block storage resource in a specific zone. The new block storage is not attached to a Cloud Server.

post/1.3/storage

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/storage
  • Auth: HTTP bearer

Request body

Example request

{
  "storage": {
    "backup_rule": {
      "interval": "daily",
      "retention": "7",
      "time": "0400"
    },
    "encrypted": "yes",
    "labels": [
      {
        "key": "environment",
        "value": "production"
      }
    ],
    "size": 50,
    "tier": "maxiops",
    "title": "Block Storage 1",
    "zone": "fi-hel1"
  }
}

Response

Block storage created

Example response

{
  "storage": {
    "access": "private",
    "backup_rule": {
      "interval": "daily",
      "retention": "7",
      "time": "0400"
    },
    "backups": {
      "backup": []
    },
    "created": "2026-08-26T09:15:00Z",
    "encrypted": "yes",
    "labels": [
      {
        "key": "environment",
        "value": "production"
      }
    ],
    "license": 0,
    "servers": {
      "server": []
    },
    "size": 50,
    "state": "online",
    "tier": "maxiops",
    "title": "Production data",
    "type": "normal",
    "uuid": "01d4fcd4-e446-433b-8a9c-551a1284952e",
    "zone": "fi-hel1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.