---
title: "Update channels in batch"
method: PUT
path: "/channels/batch"
tags: ["product:chat"]
---

# Update channels in batch

`PUT /channels/batch`

Update channels in batch

Sends events:
- channel.frozen
- channel.hidden
- channel.unfrozen
- channel.updated
- channel.visible
- member.added
- member.removed
- member.updated

## Request body

- ChannelBatchUpdateRequest, nullable
  - `data` ChannelDataUpdate
    - `auto_translation_enabled` boolean
    - `auto_translation_language` string
    - `config_overrides` ChannelConfigOverrides — Channel configuration overrides
      - `blocklist` string
      - `blocklist_behavior` 'flag' | 'block'
      - `chat_preferences` ChatPreferences
        - `channel_mentions` string
        - `default_preference` string
        - `direct_mentions` string
        - `distinct_channel_messages` string
        - `group_mentions` string
        - `here_mentions` string
        - `role_mentions` string
        - `thread_replies` string
      - `commands` string[] — List of commands that channel supports
      - `count_messages` boolean — Enable/disable message counting
      - `grants` object
      - `max_message_length` integer — Overrides max message length
      - `push_level` 'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none' — Overrides the push notification level for this channel
      - `quotes` boolean — Enables message quotes
      - `reactions` boolean — Enables or disables reactions
      - `replies` boolean — Enables message replies (threads)
      - `shared_locations` boolean — Enable/disable shared locations
      - `typing_events` boolean — Enables or disables typing events
      - `uploads` boolean — Enables or disables file uploads
      - `url_enrichment` boolean — Enables or disables URL enrichment
      - `user_message_reminders` boolean — Enable/disable user message reminders
    - `custom` object
    - `disabled` boolean
    - `frozen` boolean
    - `team` string
  - `filter` object, required
  - `members` ChannelBatchMemberRequest[]
    - `channel_role` string
    - `user_id` string, required
  - `operation` 'addMembers' | 'removeMembers' | 'inviteMembers' | 'invites' | 'assignRoles' | 'addModerators' | 'demoteModerators' | 'hide' | 'show' | 'archive' | 'unarchive' | 'updateData', required

## Response `201`

Response

- ChannelBatchUpdateResponse, nullable — Basic response information
  - `duration` string, required — Duration of the request in milliseconds
  - `task_id` string

## Other responses

- `400` — Bad request
- `429` — Too many requests

---

[API](https://skmtc.net/getstream/apis/stream-api.md) · [All operations](https://skmtc.net/getstream/apis/stream-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getstream/stream-api/versions/3dba86aaa0d8/schema)
