---
title: "Reject a learned rule (quarantine)"
method: POST
path: "/api/learning/rules/{rule_hash}/reject"
tags: ["learning"]
---

# Reject a learned rule (quarantine)

`POST /api/learning/rules/{rule_hash}/reject`

## Request

- Base URL: `https://catalyst.stratogenic.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://catalyst.stratogenic.ai/api/learning/rules/{rule_hash}/reject`
- Auth: API key in header `X-API-Key`

Marks a learned tenant rule as rejected and quarantined.

Rejected rules are excluded from normalisation. If the rule has accumulated false-positive signals it will remain quarantined until manually cleared.

## Path parameters

- `rule_hash` string, required

## Query parameters

- `reason` string, nullable

## Headers

- `X-Source-App` string, nullable
- `X-Touched-By-Tool` string, nullable
- `X-Touched-By-User` string, nullable
- `X-Touched-By-Agent` string, nullable
- `X-External-User-Id` string, nullable
- `X-Run-Id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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