---
title: "Delete a WAF rule."
method: DELETE
path: "/v1/waf/rules/{id}"
tags: ["WAF"]
---

# Delete a WAF rule.

`DELETE /v1/waf/rules/{id}`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/waf/rules/{id}`
- Auth: HTTP bearer

Removes a web application firewall rule by id.

## Path parameters

- `id` string, required

## Response `200`

Rule deleted

- DeletedResponse: Standard `{ "deleted": true }` acknowledgement.
  - `deleted` boolean, required

## Other responses

- `401`: Missing or invalid credentials
- `403`: Token lacks the waf:write scope
- `404`: Rule not found
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
