product:chat

Removes previously applied ban

Sends events:

  • user.unbanned
delete/moderation/ban

Request

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

Query parameters

target_user_idstring required
channel_cidstring
created_bystring
remove_future_channels_banboolean
reasonstring

Response

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 query request parameter reason