---
title: "Update Cost Alert Configuration Rule"
method: PUT
path: "/api/v2/cost-alerts/rule/id"
tags: ["default"]
---

# Update Cost Alert Configuration Rule

`PUT /api/v2/cost-alerts/rule/id`

Update an existing cost alert rule by ID. This example demonstrates:
- `granularity: 3` (specific day in week) with `dayInWeek: 5` (Saturday)
- `changeType: "decrease"` (detect cost decreases)
- `alertLevel: "linked_account"` (account-level monitoring)
- `operator: "IS_NOT"` (exclusion filter)
- `costType: "net_amortized"` (net amortized cost calculation)

## Headers

- `Authorization` string
- `apikey` string
- `Content-Type` string

## Request body

- object

## Response `200`

Successful response

---

[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/versions/b0a65610726b/schema)
