pydo.volumes.get()
Generated on 13 Feb 2026
from pydo version
v0.26.0
Description
To show information about a block storage volume, send a GET request to /v2/volumes/$VOLUME_ID.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
volume_id |
string | True | The ID of the block storage volume. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.volumes.get(volume_id="7724db7c")More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.