product:chat

Update an existing segment

put/segments/{id}

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/segments/{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

idstring required

Request body

descriptionstring

The description of the segment (max 256 characters)

filterobject

Filter to apply to the query

namestring

The name of the segment (max 128 characters)

Response

Successful response

durationstring required

Duration of the request in milliseconds

Changes