---
title: "Update an anomaly rule"
description: ""
canonical: "https://pgbeam.com/docs/api/anomalies/updateAnomalyRule"
last-updated: "2026-09-25T00:34:28.000Z"
---

# Update an anomaly rule

> 

URL: https://pgbeam.com/docs/api/anomalies/updateAnomalyRule

Replaces the rule's scope, metric and sensitivity. A rule whose enabled
flag is turned off silences its metric for its scope rather than being
deactivated.
