---
title: "Update alert settings"
method: PUT
path: "/alerts/setting/{id}"
tags: ["AlertSettings"]
---

# Update alert settings

`PUT /alerts/setting/{id}`

Patch an alert setting's config; omitted fields keep their stored value.

## Path parameters

- `id` string, required

## Request body

- UpdateAlertSettingsRequest
  - `config` TypesAlertSettings, required
    - `alert_enabled` boolean
    - `critical` TypesAlertThreshold
      - `condition` 'above' | 'below'
      - `threshold` string
    - `info` TypesAlertThreshold
      - `condition` 'above' | 'below'
      - `threshold` string
    - `warning` TypesAlertThreshold
      - `condition` 'above' | 'below'
      - `threshold` string

## Response `200`

OK

- AlertSettingsResponse
  - `config` TypesAlertSettings
    - `alert_enabled` boolean
    - `critical` TypesAlertThreshold
      - `condition` 'above' | 'below'
      - `threshold` string
    - `info` TypesAlertThreshold
      - `condition` 'above' | 'below'
      - `threshold` string
    - `warning` TypesAlertThreshold
      - `condition` 'above' | 'below'
      - `threshold` string
  - `created_at` string, date-time
  - `created_by` string
  - `enabled` boolean
  - `entity_id` string
  - `entity_type` 'wallet' | 'feature' | 'subscription' | 'subscription_line_item' | 'group' | 'entitlement_grant'
  - `environment_id` string
  - `id` string
  - `parent_entity_id` string
  - `parent_entity_type` string
  - `status` 'published' | 'deleted' | 'archived'
  - `tenant_id` string
  - `updated_at` string, date-time
  - `updated_by` string

## Other responses

- `400` — Invalid request
- `404` — Resource not found
- `500` — Server error

---

[API](https://skmtc.net/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.net/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/versions/f0601ed97bd3/schema)
