PUT /api/channels/{id}
Update an existing channel. You can modify the name, enabled status, template type, and config. The type, key, categoryFilter, and templateLabel fields are immutable after creation.
Headers
Your CometChat App ID.
Your CometChat API Key.
Path parameters
The channel ID.
Request body
Updated display name.
Enable or disable the channel.
Either
ui or data.Updated channel-specific configuration.
Example request
Example response
The
key field does not change when you rename a channel. It remains the original slug for stable references.