> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document). # Volumes Reference 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](https://docs.digitalocean.com/reference/index.html.md) lets you manage resources programmatically with standard HTTP requests. All actions available in the control panel are also available through the API. [`doctl`](https://github.com/digitalocean/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`](https://github.com/digitalocean/doctl) lets you manage volumes from the command line. Use the [`doctl compute volume` command](https://docs.digitalocean.com/reference/doctl/reference/compute/volume/index.html.md) or run `doctl compute volume --help` to view available options. [Volumes API Reference](https://docs.digitalocean.com/reference/api/reference/block-storage): Create, list, and delete volumes using the DigitalOcean API. [Volume Actions API Reference](https://docs.digitalocean.com/reference/api/reference/block-storage-actions): Perform volume operations such as attach or detach using the DigitalOcean API. [doctl compute volume](https://docs.digitalocean.com/reference/doctl/reference/compute/volume/index.html.md): Manage volumes using the DigitalOcean command-line tool.