---
title: "PATCH /channels/{channelID}"
method: PATCH
path: "/channels/{channelID}"
tags: ["channel"]
---

# PATCH /channels/{channelID}

`PATCH /channels/{channelID}`

チャンネルの情報を変更します。

## Request body

- PatchChannel
  - `name` string — チャンネル名
  - `visibility` boolean — 変更後のvisibility
  - `force` boolean — 強制通知かどうか

## Response `204`

正常に変更ができました。

## Other responses

- `400` — 失敗しました。リクエスト内容が不正です。
- `403` — 失敗しました。権限がありません。
- `404` — 変更に失敗しました。 指定したチャンネルは存在しません。

## Changes

- **2019-09-09** `f291e1b35a23` — 1 breaking
  - request body became required
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `editChannel` was added
- **2019-07-05** `6956f2622a20` — 8 info
  - api operation id `editChannel` removed and replaced with ``
  - endpoint reactivated
  - added optional request body
  - added the non-success response with the status `400`
  - …4 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/channels/:channelID/patch.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/4ab97bc4eb2c/schema)
