---
title: "Acting on Tagged Droplets"
method: POST
path: "/v2/droplets/actions"
tags: ["DigitalOcean-public.v2-new_Droplet Actions"]
---

# Acting on Tagged Droplets

`POST /v2/droplets/actions`

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_cycle`
- `power_on`
- `power_off`
- `shutdown`
- `enable_ipv6`
- `enable_backups`
- `disable_backups`
- `snapshot` (also requires `image:create` permission)

## Query parameters

- `tag_name` string

## Request body

- union
  - DropletAction — Specifies the action that will be taken on the Droplet.
    - `type` 'enable_backups' | 'disable_backups' | 'reboot' | 'power_cycle' | 'shutdown' | 'power_off' | 'power_on' | 'restore' | 'password_reset' | 'resize' | 'rebuild' | 'rename' | 'change_kernel' | 'enable_ipv6' | 'snapshot', required — The type of action to initiate for the Droplet.
  - DropletActionSnapshot — Specifies the action that will be taken on the Droplet.
    - `type` 'enable_backups' | 'disable_backups' | 'reboot' | 'power_cycle' | 'shutdown' | 'power_off' | 'power_on' | 'restore' | 'password_reset' | 'resize' | 'rebuild' | 'rename' | 'change_kernel' | 'enable_ipv6' | 'snapshot', required — The type of action to initiate for the Droplet.
    - `name` string — The name to give the new snapshot of the Droplet.

## Response `201`

The response will be a JSON object with a key called `actions`.

- object
  - `actions` Action[]
    - `id` integer — A unique numeric ID that can be used to identify and reference an action.
    - `status` 'in-progress' | 'completed' | 'errored' — The current status of the action. This can be "in-progress", "completed", or "errored".
    - `type` string — This is the type of action that the object represents. For example, this could be "transfer" to represent the state of an image transfer action.
    - `started_at` string, date-time — A time value given in ISO8601 combined date and time format that represents when the action was initiated.
    - `completed_at` string, date-time, nullable — A time value given in ISO8601 combined date and time format that represents when the action was completed.
    - `resource_id` integer, nullable — A unique identifier for the resource that the action is associated with.
    - `resource_type` string — The type of resource that the action is associated with.
    - `region` Region
      - `name` string, required — The display name of the region. This will be a full name that is used in the control panel and other interfaces.
      - `slug` string, required — A human-readable string that is used as a unique identifier for each region.
      - `features` string[], required — This attribute is set to an array which contains features available in this region
      - `available` boolean, required — This is a boolean value that represents whether new Droplets can be created in this region.
      - `sizes` string[], required — This attribute is set to an array which contains the identifying slugs for the sizes available in this region. sizes:read is required to view.
    - `region_slug` string, nullable — A human-readable string that is used as a unique identifier for each region.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
