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

# Delete firewall

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

Delete a specified firewall.

Any virtual machine that has this firewall activated will automatically have it deactivated.

Use this endpoint to remove unused firewall configurations.

## Path parameters

- `firewallId` 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)
