---
title: "Update channel"
method: PATCH
path: "/api/messaging/channels/{channelId}"
tags: ["messaging"]
---

# Update channel

`PATCH /api/messaging/channels/{channelId}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/messaging/channels/{channelId}`
- Auth: none declared

Update channel properties

## Path parameters

- `channelId` string, uuid, required

## Request body

- object
  - `name` string
  - `metadata` object

## Response `200`

Channel updated successfully

- object
  - `success` boolean
  - `data` Channel
    - `id` string, uuid: Unique identifier for the channel
    - `name` string: Name of the channel
    - `serverId` string, uuid: ID of the server this channel belongs to
    - `type` 'text' | 'voice' | 'dm' | 'group': Type of channel
    - `description` string: Channel description
    - `metadata` object: Additional channel metadata

## Other responses

- `400`: Invalid channelId
- `500`: Error updating channel

---

[API](https://skmtc.dev/elizaos/apis/eliza-os-api.md) - [All operations](https://skmtc.dev/elizaos/apis/eliza-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elizaos/apis/eliza-os-api/revisions/d606a12682bb?raw)
