---
title: "Partially update an alert channel"
method: PATCH
path: "/api/v1/alerts/channels/{channel_id}"
tags: ["alerts"]
---

# Partially update an alert channel

`PATCH /api/v1/alerts/channels/{channel_id}`

## Request

- Base URL: `https://monit.rs`
- URL: `https://monit.rs/api/v1/alerts/channels/{channel_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `channel_id` string, uuid, required

## Request body

- object
  - `config` object
  - `is_active` boolean
  - `min_severity` 'critical' | 'high' | 'medium' | 'low' | 'info'

## Response `200`

The updated channel.

## Other responses

- `400`: Deactivating a channel still used by an active escalation policy.
- `404`: Alert channel not found.

---

[API](https://skmtc.dev/monit/apis/monit-rs-public-api.md) · [All operations](https://skmtc.dev/monit/apis/monit-rs-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/monit/apis/monit-rs-public-api/revisions/7e1923981112?raw)
