# 채널 수정

## 요청 <a href="#undefined" id="undefined"></a>

* Method : PUT
* URI : /channel

```
PUT
url : https://dashboard-api.gamechat.naverncp.com/v1/api/project/{projectId}/channel
Header : 'x-api-key: {API Key}'
Header : 'content-type: application/json'
data: '{
    "name":"#All",
}'
```

<table><thead><tr><th width="126">Header</th><th width="111">Type</th><th width="120">Required</th><th>Description</th></tr></thead><tbody><tr><td>x-api-key</td><td>String</td><td>O</td><td>대시보드 > 설정 > 프로젝트 설정 > API Key</td></tr></tbody></table>

<table><thead><tr><th width="130">Attribute</th><th width="105">Type</th><th width="123">Required</th><th>Description</th></tr></thead><tbody><tr><td>projectId</td><td>String</td><td>O</td><td>프로젝트 아이디 (대시보드 > 설정 > 프로젝트 설정 > 프로젝트 ID)</td></tr><tr><td>name</td><td>String</td><td>O</td><td>채널 명</td></tr><tr><td>translation</td><td>Boolean</td><td>X</td><td>번역 가능 여부</td></tr><tr><td>uniqueId</td><td>String</td><td>X</td><td>임의로 지정할 수 있는 고유 아이디</td></tr><tr><td>limit</td><td>Int</td><td>X</td><td>채널내 최대 참여자 수 ( 0 일 경우 제한 없음 )</td></tr></tbody></table>

## 응답 <a href="#undefined" id="undefined"></a>

```javascript
{
    "status": 1,
    "result": "1a51af0d-f464-4440-8ad6-ce69e0bdaba8"
}
```

<table><thead><tr><th width="168">Attribute</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>status</td><td>Int</td><td>결과값 (1: 성공, 실패는 Error code 참고)</td></tr><tr><td>result</td><td>String</td><td>수정된 채널 아이디</td></tr></tbody></table>

## 오류 코드 <a href="#undefined" id="undefined"></a>

<table><thead><tr><th width="235">Code</th><th>Description</th></tr></thead><tbody><tr><td>-100</td><td>필수 파라미터가 없는 경우</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gamechat.me/basics/game-chat-v2/quickstart/openapi/undefined-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
