product:chat

Partial update poll

Changed on

Updates a poll partially

Sends events:

  • feeds.poll.closed
  • feeds.poll.updated
  • poll.closed
  • poll.updated
patch/polls/{poll_id}

Request

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

poll_idstring required

Poll ID

Request body

config_keystring

Key of the moderation configuration to use. Server-side only.

config_teamstring

Team associated with the configuration. Server-side only.

setobject

Sets new field values

unsetstring[]

Array of field names to unset

user_idstring

Response

Successful response

durationstring required

Duration of the request in milliseconds

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 new optional request property

    • info

      added the new optional request property