---
title: "Update Channel"
method: PATCH
path: "/v1/channels/{channel_id}"
tags: ["Channels"]
---

# Update Channel

`PATCH /v1/channels/{channel_id}`

## Request

- Base URL: `https://api.fettle.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fettle.sh/v1/channels/{channel_id}`
- Auth: API key in header `Authorization`

Update a notification channel.

## Path parameters

- `channel_id` string, uuid, required

## Headers

- `X-Organization-Id` string, uuid, nullable

## Request body

- NotificationChannelUpdate: Request body for ``PATCH /v1/channels/{id}``.
  - `label` string, nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- NotificationChannelRead: Response model for a notification channel. EMAIL rows returned by ``GET /v1/channels`` are synthesised from the authenticated user's email and carry a null ``id`` — they are not stored in the database.
  - `id` string, uuid, nullable, required
  - `type` 'EMAIL' | 'TELEGRAM' | 'WEBHOOK' | 'SLACK' | 'DISCORD', required: Transport for a user notification channel.
  - `destination` string, required
  - `label` string, nullable, required
  - `is_verified` boolean, required
  - `is_active` boolean, required
  - `created_at` string, date-time, nullable, required
  - `updated_at` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fettle/apis/fettle-sh.md) · [All operations](https://skmtc.dev/fettle/apis/fettle-sh/llms.txt) · [OpenAPI document](https://skmtc.dev/fettle/apis/fettle-sh/revisions/f32c8a18606f?raw)
