---
title: "Update Alert"
method: PATCH
path: "/organization/usage/alerts/{alert_id}"
tags: ["usage-alerts"]
---

# Update Alert

`PATCH /organization/usage/alerts/{alert_id}`

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/organization/usage/alerts/{alert_id}`
- Auth: none declared

## Path parameters

- `alert_id` string, uuid, required

## Request body

- UpdateUsageAlertRequest: Patch one policy-scoped usage alert.
  - `policy_id` string, uuid, nullable
  - `threshold_type` 'percentage' | 'count'
  - `threshold_value` integer, nullable
  - `channel` 'email' | 'slack_dm'
  - `recipient_target` 'organization_admins' | 'organization_admins_and_event_actor' | 'explicit_users'
  - `enabled` boolean, nullable

## Response `200`

Successful Response

- UsageAlertResponse: One usage alert rule and its V0 notification subscription.
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `policy_id` string, uuid, required
  - `threshold_type` 'percentage' | 'count', required
  - `threshold_value` integer, required
  - `enabled` boolean, required
  - `created_at` string, required
  - `updated_at` string, required
  - `subscription` UsageAlertSubscriptionResponse, required: Notification subscription attached to a usage alert rule.
    - `id` string, uuid, required
    - `channel` 'email' | 'slack_dm', required
    - `recipient_target` 'organization_admins' | 'organization_admins_and_event_actor' | 'explicit_users', required
    - `enabled` boolean, required

## Other responses

- `422`: Validation Error

## Changes

> 66 revisions in range; 9 not diffed.

- **2026-09-24** `6a1626105afb`: 1 info
  - added the new optional request property `policy_id`
- **2026-09-24** `2fc80b73eb41`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/traversal/apis/traversal-api/changes/organization/usage/alerts/:alert_id/patch.md)

---

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