---
title: "Update Alert Configuration Rule"
method: PUT
path: "/api/v1/anomaly-detection/rule"
tags: ["Anomaly Detection"]
---

# Update Alert Configuration Rule

`PUT /api/v1/anomaly-detection/rule`

The call is used to update an anomaly-detection rule

## Headers

- `Authorization` string, required
- `apikey` string, required

## Request body

- object
  - `uuid` string, required — Unique identifier of the rule to update
  - `ruleName` string, required — The rule name
  - `direction` string, required — UP or DOWN
  - `minAmountChange` string, required
  - `minPercentChange` string, required
  - `recipientsEmails` string, required — List of emails of the alert recipients, separated by commas
  - `filters` object — The rule include and exclude filters

## Response `200`

---

[API](https://skmtc.net/umbrellacost/apis/admin.md) · [All operations](https://skmtc.net/umbrellacost/apis/admin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/umbrellacost/admin/revisions/b0a65610726b/schema)
