---
title: "POST /firewall-rules/batch-delete"
method: POST
path: "/firewall-rules/batch-delete"
---

# POST /firewall-rules/batch-delete

`POST /firewall-rules/batch-delete`

Deletes multiple DNS firewall rules in a single operation. This is more efficient than deleting rules individually.

Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify `--region us-east-2` on Amazon Web Services CLI commands.

## Request body

- object
  - `firewallRules` BatchDeleteFirewallRuleInputItem[], required — An array of the DNS Firewall IDs to be deleted.
    - `firewallRuleId` string, required — The ID of the DNS Firewall rule to delete.

## Response `200`

Success

- BatchDeleteFirewallRuleOutput
  - `failures` BatchDeleteFirewallRuleOutputItem[], required — High level information about the DNS Firewall rules that failed to delete.
    - `firewallRule` object, required — The firewall rule that was deleted in the batch operation.
      - `clientToken` string — The unique string that identified the request and ensured idempotency.
      - `id` string, required — The unique identifier of the deleted firewall rule.
      - `name` string — The name of the deleted firewall rule.
      - `status` 'CREATING' | 'OPERATIONAL' | 'UPDATING' | 'DELETING' — The final status of the deleted firewall rule.
    - `code` integer, required — The response code for the delete operation.
    - `message` string — The response message for the delete operation.
  - `successes` BatchDeleteFirewallRuleOutputItem[], required — High level information about the DNS Firewall rules that were deleted successfully.
    - `firewallRule` object, required — The firewall rule that was deleted in the batch operation.
      - `clientToken` string — The unique string that identified the request and ensured idempotency.
      - `id` string, required — The unique identifier of the deleted firewall rule.
      - `name` string — The name of the deleted firewall rule.
      - `status` 'CREATING' | 'OPERATIONAL' | 'UPDATING' | 'DELETING' — The final status of the deleted firewall rule.
    - `code` integer, required — The response code for the delete operation.
    - `message` string — The response message for the delete operation.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/route53globalresolver.md) · [All operations](https://skmtc.net/aws/apis/route53globalresolver/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/route53globalresolver/versions/5ebf158d0c4b/schema)
