How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Digital Ocean Block Storage API

[DigitalOcean Block Storage Volumes](https://docs.digitalocean.com/products/volumes/)provide expanded storage capacity for your Droplets and can be movedbetween Droplets within a specific region.Volumes function as raw block devices, meaning they appear to theoperating system as locally attached storage which can be formatted usingany file system supported by the OS. They may be created in sizes from1GiB to 16TiB.By sending requests to the `/v2/volumes` endpoint, you can list, create, ordelete volumes as well as attach and detach them from Droplets

Digital Ocean Block Storage API is one of 37 APIs that Digital Ocean publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Block Storage. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 9 operations across 4 paths, and defines 23 schemas. It is described by OpenAPI 3.0.0, at version 2.0.

Requests are made against a single base URL, https://api.digitalocean.com.

9 operations 4 paths 23 schemas 3 DELETE4 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0
Base URL
https://api.digitalocean.com/v2
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Digital Ocean Block Storage API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearer_auth). By default, every request must be authenticated.

  • bearer_auth — OAuth Authentication In order to interact with the DigitalOcean API, you or your application must authenticate. The DigitalOcean API handles this through OAuth…

Paths & Operations 9

Across 4 paths, the API surfaces 9 operations — 3 DELETE, 4 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Block Storage 9

[DigitalOcean Block Storage Volumes](https://docs.digitalocean.com/products/volumes/) provide expanded storage capacity for your Droplets and can be moved between Droplets within…

GET
/v2/volumes
List All Block Storage Volumes
volumes_list 4 params → 200401429500default
POST
/v2/volumes
Create a New Block Storage Volume
volumes_create body → 201400401404429500default
DELETE
/v2/volumes
Delete a Block Storage Volume by Name
volumes_delete_byName 2 params → 204401404429500default
GET
/v2/volumes/snapshots/{snapshot_id}
Retrieve an Existing Volume Snapshot
volumeSnapshots_get_byId 1 param → 200401404429500default
DELETE
/v2/volumes/snapshots/{snapshot_id}
Delete a Volume Snapshot
volumeSnapshots_delete_byId 1 param → 204401404429500default
GET
/v2/volumes/{volume_id}
Retrieve an Existing Block Storage Volume
volumes_get 1 param → 200401404429500default
DELETE
/v2/volumes/{volume_id}
Delete a Block Storage Volume
volumes_delete 1 param → 204401404429500default
GET
/v2/volumes/{volume_id}/snapshots
List Snapshots for a Volume
volumeSnapshots_list 3 params → 200401404429500default
POST
/v2/volumes/{volume_id}/snapshots
Create Snapshot from a Volume
volumeSnapshots_create 1 param body → 201400401404429500default

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are volume_base (7 properties), region (5 properties), snapshots_base (5 properties), error (3 properties). Each schema is shown below with its type and property counts.

snapshots_base
object
5 properties 5 required
volumes_xfs
object
link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
volumes_ext4
object
snapshots
volume_base
object
7 properties
region_slug
string
The slug identifier for the region where the resource will initially be available.
forward_links
region
object
5 properties 5 required
pagination
object
1 property
volume_snapshot_id
object
1 property
link_to_first_page
object
1 property
error
object
3 properties 2 required
backward_links
volume_write_file_system_label
string
The label applied to the filesystem. Labels for ext4 type filesystems may contain 16 characters while labels for xfs type filesystems are limited to 12 charact…
meta_properties
object
Information about the response itself.
1 property
meta
object
1 property 1 required
volume_write_file_system_type
object
1 property
link_to_next_page
object
1 property
tags_array
array
A flat array of tag names as strings to be applied to the resource. Tag names may be for either existing or new tags.
volume_full
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-block-storage-api-openapi.yml Raw ↑

Other APIs Digital Ocean publishes across the network.

Digital Ocean 1-Click Applications API
Digital Ocean Account API
Digital Ocean Actions API
Digital Ocean Apps API
Digital Ocean Billing API
Digital Ocean Block Storage Actions API
Digital Ocean CDN Endpoints API
Digital Ocean Certificates API
Digital Ocean Container Registry API
Digital Ocean Databases API
Digital Ocean Domain Records API
Digital Ocean Domains API
Where this information came from

This is an independent, third-party profile of Digital Ocean Block Storage API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.