DewaVPS

Detach block storage

PATCH
/storage/blocks/{block_storage_id}/detach

Detach a block storage volume from its current instance.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Path Parameters

block_storage_id*string

ID of the block storage

Response Body

application/json

curl -X PATCH "https://api.dewavps.com/v1/storage/blocks/string/detach"
{
  "message": "Block storage successfully detached",
  "data": {
    "storage_id": "b393bdc8-beeb-473d-b930-952d1433f9f9"
  }
}