Skip to main content
POST
Updates a channel’s name, description, access controls, and other settings. Only the channel creator or admins can update channels.

Authentication

Requires a valid user session. User must be the channel creator or an admin.

Path Parameters

string
required
The unique identifier of the channel to update

Request Body

string
required
Channel name
string
Channel description
boolean
Whether the channel is private (for group channels)
object
Additional channel data
object
Channel metadata
array
Access control grants for the channel
array
Array of group IDs to grant access to the channel
array
Array of user IDs to grant access to the channel

Response

Returns the updated channel object.
string
required
Unique channel identifier
string
required
ID of the user who created the channel
string
Channel type
string
required
Channel name
string
Channel description
boolean
Whether the channel is private
object
Additional channel data
object
Channel metadata
array
Updated access control grants
integer
required
Creation timestamp (epoch time in nanoseconds)
integer
required
Updated timestamp (epoch time in nanoseconds)
string
ID of user who updated the channel

Notes

  • Only the channel creator (user_id) or admins can update channels
  • All fields in the request body are optional, but at least the name field should be provided
  • Updating access grants will replace the existing grants entirely
  • The updated_at timestamp and updated_by field are automatically updated