Retrieve
Retrieve an Existing Block Storage Volume
get/v2/volumes/{volume_id}
To show information about a block storage volume, send a GET request to /v2/volumes/$VOLUME_ID
.
Path Parameters
volume_idstring
formatuuid
Returns
volumeobject
optional
curl https://api.digitalocean.com//v2/volumes/$VOLUME_ID \
-H "Authorization: Bearer $GRADIENTAI_API_KEY"
200 Example
{
"volume": {
"description": "Block store for examples",
"filesystem_label": "example",
"filesystem_type": "ext4",
"name": "example",
"size_gigabytes": 10,
"tags": [
"base-image",
"prod"
]
}
}