dots.v2.droplets.actions.post()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.droplets.actions.post(body: Droplet_action | Droplet_action_snapshot, requestConfiguration?: RequestConfiguration<ActionsRequestBuilderPostQueryParameters>): Promise<undefined | ActionsPostResponse>Description
Some actions can be performed in bulk on tagged Droplets. The actions can be
initiated by sending a POST to /v2/droplets/actions?tag_name=$TAG_NAME with
the action arguments.
Only a sub-set of action types are supported:
power_cyclepower_onpower_offshutdownenable_ipv6(Warning: The Droplet must be powered off before enabling IPv6 on an existing Droplet.)enable_backupsdisable_backupssnapshot(also requiresimage:createpermission)
Parameters
Query Parameters
tagNamestring optionalExample:
env:prodUsed to filter Droplets by a specific tag. Can not be combined with
nameortype.
Requirestag:readscope.
Request Body
droplet_action
typestring requiredThe type of action to initiate for the Droplet.
droplet_action_snapshot
typestring requiredThe type of action to initiate for the Droplet.
namestring optionalExample:
Nifty New SnapshotThe name to give the new snapshot of the Droplet.
Request Sample
Response Example
More Information
See /v2/droplets/actions in the API reference for additional detail on responses, headers, parameters, and more.