---
updatedAt: 2025-07-24T16:48:38.000Z
agentTools:
  projectIndex: https://docs.arena.im/llms.txt
---

# Update a Channel

Fully updates the details of an existing channel within a chat using the provided channel data.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/chats/{chatId}/channels/{id}": {
      "put": {
        "summary": "Update a Channel",
        "description": "Fully updates the details of an existing channel within a chat using the provided channel data.",
        "operationId": "ChannelController_update",
        "parameters": [
          {
            "name": "chatId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            },
            "description": "The unique ID of the chat containing the channel"
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            },
            "description": "The unique ID of the channel to update"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Channel data to fully update the existing channel",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateChannelDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successfully updated the channel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseChannelDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid channel data provided in the request body"
          },
          "401": {
            "description": "Unauthorized due to missing or expired authentication token"
          },
          "404": {
            "description": "The specified channel or chat was not found"
          },
          "502": {
            "description": "Server error prevented channel update"
          }
        },
        "tags": [
          "channels"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "Customer's API",
    "description": "API to manage customer resources",
    "version": "3.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.arena.im/v3"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "CreateChannelDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the channel",
            "example": "Awesome channel"
          },
          "externalId": {
            "type": "string",
            "description": "Optional ID of client datasource",
            "example": "MyInternalChannelId"
          },
          "gifs": {
            "type": "boolean",
            "description": "Allow users to send gifs to channel",
            "example": true,
            "default": false
          },
          "userUrls": {
            "type": "boolean",
            "description": "Allow users to share url links",
            "example": true,
            "default": false
          },
          "preModeration": {
            "type": "boolean",
            "description": "Messages need to be approved before shows in channel",
            "example": true,
            "default": false
          },
          "profanityFilter": {
            "type": "string",
            "description": "Apply filter in messages. \n\n* block: block messages if matches filter \n* none: do not apply filter in messages \n* false: do not apply filter in messages \n* true: block messages \n* replace: replace the words with *** \n",
            "example": "block",
            "enum": [
              "",
              "block",
              "none",
              "false",
              "replace",
              "true"
            ]
          },
          "reactions": {
            "type": "boolean",
            "description": "Enable or disable show reactions button",
            "example": true,
            "default": false
          },
          "qna": {
            "type": "boolean",
            "description": "Enable or disable Question and Answer in channel",
            "example": true,
            "default": false
          },
          "emojis": {
            "type": "boolean",
            "description": "Enable or disable the use of emojis in channel",
            "example": true,
            "default": true
          }
        },
        "required": [
          "name"
        ]
      },
      "ResponseChannelDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the channel",
            "example": "Awesome channel"
          },
          "externalId": {
            "type": "string",
            "description": "Optional ID of client datasource",
            "example": "MyInternalChannelId"
          },
          "gifs": {
            "type": "boolean",
            "description": "Allow users to send gifs to channel",
            "example": true,
            "default": false
          },
          "userUrls": {
            "type": "boolean",
            "description": "Allow users to share url links",
            "example": true,
            "default": false
          },
          "preModeration": {
            "type": "boolean",
            "description": "Messages need to be approved before shows in channel",
            "example": true,
            "default": false
          },
          "profanityFilter": {
            "type": "string",
            "description": "Apply filter in messages. \n\n* block: block messages if matches filter \n* none: do not apply filter in messages \n* false: do not apply filter in messages \n* true: block messages \n* replace: replace the words with *** \n",
            "example": "block",
            "enum": [
              "",
              "block",
              "none",
              "false",
              "replace",
              "true"
            ]
          },
          "reactions": {
            "type": "boolean",
            "description": "Enable or disable show reactions button",
            "example": true,
            "default": false
          },
          "qna": {
            "type": "boolean",
            "description": "Enable or disable Question and Answer in channel",
            "example": true,
            "default": false
          },
          "emojis": {
            "type": "boolean",
            "description": "Enable or disable the use of emojis in channel",
            "example": true,
            "default": true
          },
          "id": {
            "type": "string",
            "description": "id of channel",
            "example": "896e54c2-65e2-11ed-9022-0242ac120002"
          },
          "createdAt": {
            "type": "string",
            "description": "Date of created channel",
            "example": "2022-11-16T19:10:48.059Z"
          }
        },
        "required": [
          "name",
          "id",
          "createdAt"
        ]
      }
    }
  }
}
```