---
title: "PUT /channels/{channelID}/notification"
method: PUT
path: "/channels/{channelID}/notification"
tags: ["notification"]
---

# PUT /channels/{channelID}/notification

`PUT /channels/{channelID}/notification`

チャンネルの通知状況を変更します。
リクエストに含めなかったユーザーIDのユーザーの通知状況は変更しません。
また、存在しないユーザーのIDを指定した場合は無視されます。

## Request body

- NotificationUsers
  - `on` string[] — UUIDの配列
  - `off` string[] — UUIDの配列

## Response `204`

正常に更新できました。

## Other responses

- `404` — +| 変更に失敗しました。 指定したチャンネルは存在しません。

## Changes

- **2019-07-26** `9b2ffbefd225` — 1 info
  - api operation id `changeNotifications` removed and replaced with `changeSubscribers`
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `changeNotifications` was added
- **2019-07-05** `6956f2622a20` — 7 info
  - api operation id `changeSubscribers` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added optional request body
  - …3 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/channels/:channelID/notification/put.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/84d2b25db3ba/schema)
