---
title: "Update threshold alert"
method: PUT
path: "/pipeline/{pipeline_id}/usage-threshold-alert/{usage_threshold_alert_id}"
tags: ["Alerting"]
---

# Update threshold alert

`PUT /pipeline/{pipeline_id}/usage-threshold-alert/{usage_threshold_alert_id}`

## Request

- Base URL: `https://api.mezmo.com/v3`
- URL: `https://api.mezmo.com/v3/pipeline/{pipeline_id}/usage-threshold-alert/{usage_threshold_alert_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/mezmo/apis/pipeline-api/docs/pipeline/:pipeline_id/usage-threshold-alert/:usage_threshold_alert_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Replace an existing usage alert with this one

## Path parameters

- `pipeline_id` string, uuid, required

## Request body

- object
  - `data_window` object
  - `no_data` boolean

## Response `200`

Default Response

---

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