---
title: "Delete firewall rule"
method: DELETE
path: "/api/vps/v1/firewall/{firewallId}/rules/{ruleId}"
tags: ["VPS: Firewall"]
---

# Delete firewall rule

`DELETE /api/vps/v1/firewall/{firewallId}/rules/{ruleId}`

Delete a specific firewall rule from a specified firewall.

Any virtual machine that has this firewall activated will lose sync with the firewall
and will have to be synced again manually.

Use this endpoint to remove specific firewall rules.

## Path parameters

- `firewallId` integer, required
- `ruleId` integer, required

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

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