---
title: "Remove Droplets from a Firewall"
method: DELETE
path: "/v2/firewalls/{firewall_id}/droplets"
tags: ["DigitalOcean-public.v2-new_Firewalls"]
---

# Remove Droplets from a Firewall

`DELETE /v2/firewalls/{firewall_id}/droplets`

To remove a Droplet from a firewall, send a DELETE request to
`/v2/firewalls/$FIREWALL_ID/droplets`. In the body of the request, there should
be a `droplet_ids` attribute containing a list of Droplet IDs.

No response body will be sent back, but the response code will indicate
success. Specifically, the response code will be a 204, which means that the
action was successful with no returned body data.

## Path parameters

- `firewall_id` string, uuid, required

## Request body

- object
  - `droplet_ids` integer[], required — An array containing the IDs of the Droplets to be removed from the firewall.

## Response `204`

The action was successful and the response body is empty.

## Other responses

- `400` — There was an error parsing the request body.
- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

## Changes

- **2025-10-16** `cb3bf9b21459` — 2 info
  - api tag `DigitalOcean-public.v2-new_Firewalls` added
  - api tag `Firewalls` removed
- **2025-07-18** `f8e8c290636c` — 1 info
  - endpoint added
- **2025-07-17** `5fc9af728e82` — 1 breaking
  - api path removed without deprecation
- **2025-07-17** `f8e8c290636c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/digitalocean/apis/digitalocean-api/changes/v2/firewalls/:firewall_id/droplets/delete.md)

---

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