Update an open channel
Changed onUpdate an open channel
You can update information about an open channel using this API. You can add a cover image to a channel to better identify the channel or specify a custom channel type for grouping channels by custom type. See this page to learn more about channel types.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
Headers
Request body
Response
Successful response
Example response
{
"cover_url": "cover_url",
"metadata": "{}",
"data": "data",
"custom_type": "custom_type",
"is_ephemeral": true,
"created_at": 0,
"is_dynamic_partitioned": true,
"channel_url": "channel_url",
"freeze": true,
"participant_count": 1,
"operators": [
{
"metadata": "{}",
"require_auth_for_profile_image": true,
"is_active": true,
"role": "",
"user_id": "user_id",
"profile_url": "profile_url",
"nickname": "nickname",
"is_blocked_by_me": true
},
{
"metadata": "{}",
"require_auth_for_profile_image": true,
"is_active": true,
"role": "",
"user_id": "user_id",
"profile_url": "profile_url",
"nickname": "nickname",
"is_blocked_by_me": true
}
],
"max_length_message": 6,
"name": "name"
}Changes
- warning
deleted the
headerrequest parameterApi-Token - warning
removed the request property
- warning
removed the request property
- info
api operation id
ocUpdateChannelByUrlremoved and replaced withupdateAnOpenChannel - info
added the new optional
headerrequest parameterapi-token
- warning
- info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional - info
the request property
became optional
- info