---
title: "Update Rule"
method: PUT
path: "/escalation-rules/rules/{rule_id}"
tags: ["escalation-rules"]
---

# Update Rule

`PUT /escalation-rules/rules/{rule_id}`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/escalation-rules/rules/{rule_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Update an escalation rule.

## Path parameters

- `rule_id` string, uuid, required

## Request body

- EscalationRuleUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `rule_type` string, nullable
  - `conditions` object, nullable
  - `priority` string, nullable
  - `auto_escalate` boolean, nullable
  - `notify_only` boolean, nullable
  - `sort_order` integer, nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- EscalationRuleResponse
  - `id` string, required
  - `space_id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `is_active` boolean, required
  - `rule_type` string, required
  - `conditions` object, required
  - `priority` string, required
  - `auto_escalate` boolean, required
  - `notify_only` boolean, required
  - `sort_order` integer, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422`: Validation Error

---

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