Volumes are persistent block storage devices that can be attached to Droplets. Each volume is backed by a Kubernetes PersistentVolumeClaim.

List Volumes

Response:

Create a Volume

string
required
Volume name
integer
required
Size in gigabytes
string
required
Deployment region
Response: 201 Created

Get a Volume

Delete a Volume

A volume must be detached from all Droplets before it can be deleted. Data is permanently lost.

Volume Status

Attaching Volumes

Volumes are attached to Droplets at creation time via the volume_ids field, or can be managed through Droplet update operations.