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

Droplet actions are tasks that can be executed on a Droplet. These can bethings like rebooting, resizing, snapshotting, etc.Droplet action requests are generally targeted at one of the "actions"endpoints for a specific Droplet. The specific actions are usuallyinitiated by sending a POST request with the action and arguments asparameters.Droplet action requests create a Droplet actions object, which can be usedto get information about the status of an action. Creating a Dropletaction is asynchronous: the HTTP call will return the action object beforethe action has finished processing on the Droplet. The current status ofan action can be retrieved from either the Droplet actions endpoint or theglobal actions endpoint. If a Droplet action is uncompleted it may blockthe creation of a subsequent action for that Droplet, the locked attributeof the Droplet will be true and attempts to create a Droplet action willfail with a status of 422.

Digital Ocean Droplet 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 Droplet 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 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.

4 operations 3 paths 23 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 Droplet 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.

Droplet Actions 4

Droplet actions are tasks that can be executed on a Droplet. These can be things like rebooting, resizing, snapshotting, etc. Droplet action requests are generally targeted at one…

GET
/v2/droplets/{droplet_id}/actions
List Actions for a Droplet
dropletActions_list 3 params → 200401404429500default
POST
/v2/droplets/{droplet_id}/actions
Initiate a Droplet Action
dropletActions_post 1 param body → 201401404429500default
POST
/v2/droplets/actions
Acting on Tagged Droplets
dropletActions_post_byTag 1 param body → 201401429500default
GET
/v2/droplets/{droplet_id}/actions/{action_id}
Retrieve a Droplet Action
dropletActions_get 2 params → 200401404429500default

Schemas 23

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

droplet_action_enable_backups
droplet_action_rename
link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
action
object
9 properties
droplet_action_snapshot
droplet_action_change_kernel
droplet_action
object
Specifies the action that will be taken on the Droplet.
1 property 1 required
forward_links
region
object
5 properties 5 required
pagination
object
1 property
droplet_backup_policy
object
5 properties
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
droplet_action_resize
meta
object
1 property 1 required
droplet_action_rebuild
link_to_next_page
object
1 property
droplet_action_restore
droplet_action_change_backup_policy
1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-droplet-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 Actions 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
Where this information came from

This is an independent, third-party profile of Digital Ocean Droplet 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.