---
title: "Delete Rule"
method: DELETE
path: "/dashboard/bot/settings/{guild_id}/automod/rules/{rule_id}"
tags: ["dashboard"]
---

# Delete Rule

`DELETE /dashboard/bot/settings/{guild_id}/automod/rules/{rule_id}`

Soft delete, so a rule id is never reused and old cases keep resolving to it.

## Path parameters

- `guild_id` integer, required
- `rule_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-16** `83ac8f547df8` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-09** `0f647fa78ebf` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/monni/apis/fastapi/changes/dashboard/bot/settings/:guild_id/automod/rules/:rule_id/delete.md)

---

[API](https://skmtc.dev/monni/apis/fastapi.md) · [All operations](https://skmtc.dev/monni/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/monni/apis/fastapi/revisions/2ec565e413a7?raw)
