product:chat

Partially update channel

Changed on

Updates certain fields of the channel

Sends events:

  • channel.updated
patch/channels/{type}/{id}

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/channels/{type}/{id}
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Path parameters

typestring required

Channel type to interact with

idstring required

Channel ID to interact with

Request body

setobject
unsetstring[]
user_idstring

Response

Successful response

durationstring required

Duration of the request in milliseconds

Example response

{
  "channel": {
    "config": {
      "partition_ttl": "24h"
    }
  }
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status