storage

Detach storage from a Cloud Server

Detaches the storage resource from its attached Cloud Server. IDE and CD-ROM devices can be detached only while the Cloud Server is stopped; SCSI and VirtIO disks can also be detached while it is running. If the storage resource is already detached, it is returned unchanged.

post/1.3/storage/{uuid}/detach

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/storage/{uuid}/detach
  • Auth: HTTP bearer

Path parameters

uuidstring uuid required

Universally unique identifier

Example:0414e0d7-4436-4037-9dd8-6eaf47dce599

Storage resource UUID

Response

Storage resource detached from Cloud Server

Example response

{
  "storage": {
    "access": "private",
    "backup_rule": {},
    "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.