Update a channel metadata - When updating existing items of a channel metadata by their keys or adding new items to the metadata
PUT {{baseUrl}}/v3/:channel_type/:channel_url/metadata
Update a channel metadata
Updates existing items of a channel metadata by their keys, or adds new items to the metadata.
https://sendbird.com/docs/chat/v3/platform-api/guides/user-and-channel-metadata#2-update-a-channel-metadata
channel_type
Type: string
Description: Specifies the type of the channel. Either openchannels or groupchannels.
channel_url
Type: string
Description: Specifies the URL of the target channel.
Request Body
{"metadata"=>"<object>", "upsert"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
"\u003cobject\u003e"