Volumes Reference

Validated on 4 Nov 2025 • Last edited on 14 Nov 2025

Volumes are network-attached block storage. You can use them with Droplets or Kubernetes clusters, move or resize them, and create snapshots at any time.

The DigitalOcean API lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API.

doctl is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.

doctl lets you manage volumes from the command line. Use the doctl compute volume command or run doctl compute volume --help to view available options.

Volumes API Reference

Create, list, and delete volumes using the DigitalOcean API.

Volume Actions API Reference

Perform volume operations such as attach or detach using the DigitalOcean API.

doctl compute volume

Manage volumes using the DigitalOcean command-line tool.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.