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