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 Actions API

Block storage actions are commands that can be given to a DigitalOceanBlock Storage Volume. An example would be detaching or attaching a volumefrom a Droplet. These requests are made on the`/v2/volumes/$VOLUME_ID/actions` endpoint.An action object is returned. These objects hold the current status of therequested action.

Digital Ocean Block Storage Actions 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 Actions. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 3 paths, and defines 21 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.

4 operations 3 paths 21 schemas 2 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 Actions 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 4

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

Block Storage Actions 4

Block storage actions are commands that can be given to a DigitalOcean Block Storage Volume. An example would be detaching or attaching a volume from a Droplet. These requests are…

POST
/v2/volumes/actions
Initiate A Block Storage Action By Volume Name
volumeActions_post 2 params body → 202401404429500default
GET
/v2/volumes/{volume_id}/actions
List All Actions for a Volume
volumeActions_list 3 params → 200401404429500default
POST
/v2/volumes/{volume_id}/actions
Initiate A Block Storage Action By Volume Id
volumeActions_post_byId 3 params body → 202401404429500default
GET
/v2/volumes/{volume_id}/actions/{action_id}
Retrieve an Existing Volume Action
volumeActions_get 4 params → 200401404429500default

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are action (9 properties), region (5 properties), error (3 properties), volume_action_post_base (2 properties). Each schema is shown below with its type and property counts.

link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
action
object
9 properties
volume_action_post_resize
object
volume_action_droplet_id
integer
The unique identifier for the Droplet the volume will be attached or detached from.
region_slug
string
The slug identifier for the region where the resource will initially be available.
volumeAction
object
volume_action_post_detach
object
forward_links
region
object
5 properties 5 required
pagination
object
1 property
link_to_first_page
object
1 property
error
object
3 properties 2 required
backward_links
meta_properties
object
Information about the response itself.
1 property
meta
object
1 property 1 required
volume_action_post_base
object
2 properties 1 required
volume_action_post_attach
object
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.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-block-storage-actions-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 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 Actions 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.