---
title: "Update User Channel"
method: PUT
path: "/api/channels/{channel_id}"
tags: ["Channels"]
---

# Update User Channel

`PUT /api/channels/{channel_id}`

Update a channel configuration.

## Path parameters

- `channel_id` integer, required

## Request body

- UserChannelUpdate
  - `channel_name` string, nullable
  - `config` object, nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- UserChannelResponse
  - `channel_type` string, required — e.g. telegram, feishu
  - `channel_name` string, nullable — User-friendly name
  - `config` object, required — Channel specific configuration
  - `is_active` boolean
  - `id` integer, required
  - `user_id` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-01** `c9eb29ec9a1b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/xorbitsai/apis/xagent/changes/api/channels/:channel_id/put.md)

---

[API](https://skmtc.dev/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.dev/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xorbitsai/xagent/revisions/33e4ba4936ad/schema)
