---
title: "Update System Rule"
method: PUT
path: "/api/admin/system-rules/{rule_id}"
tags: ["admin"]
---

# Update System Rule

`PUT /api/admin/system-rules/{rule_id}`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/admin/system-rules/{rule_id}`
- Auth: HTTP bearer

Update a system rule (ADMIN only)

## Path parameters

- `rule_id` string, required

## Request body

- SystemRuleUpdate: System rule update model
  - `name` string, nullable
  - `rule_type` 'global' | 'chat' | 'financial_report' | 'news_analysis' | 'news_summary': System rule types for AI instructions
  - `content` string, nullable
  - `is_active` boolean, nullable
  - `priority` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
