---
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}`

## Request

- Base URL: `https://api.monni.fyi` (the document declares no server; this is the origin it was published from)
- URL: `https://api.monni.fyi/dashboard/bot/settings/{guild_id}/automod/rules/{rule_id}`
- Auth: HTTP bearer

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

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

---

[API](https://skmtc.dev/monni/apis/monni-api.md) - [All operations](https://skmtc.dev/monni/apis/monni-api/llms.txt) - [OpenAPI document](https://skmtc.dev/monni/apis/monni-api/revisions/a35aef40d880?raw)
