# チャネルの修正

## リクエスト <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="133">Header</th><th width="115">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="133">Attribute</th><th width="114">Type</th><th width="126">Required</th><th>Description</th></tr></thead><tbody><tr><td>projectId</td><td>String</td><td>O</td><td>プロジェクト ID(ダッシュボード > 設定 > プロジェクトの設定 > プロジェクト 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>任意に指定できる固有 ID</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="162">Attribute</th><th width="109">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>修正するチャネル ID</td></tr></tbody></table>

## エラーコード <a href="#undefined" id="undefined"></a>

<table><thead><tr><th width="175">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/game-chat-ri-ben-yu/openapi/chaneruno.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.
