product:chat

Reactivate users

Changed on

Reactivate users in batches

Sends events:

  • user.reactivated
post/users/reactivate

Request

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

Request body

created_by_idstring

ID of the user who's reactivating the users

restore_channelsboolean
restore_messagesboolean

Restore previously deleted messages

user_idsstring[] required

User IDs to reactivate

Response

Response

durationstring required

Duration of the request in milliseconds

task_idstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the request property's minItems was increased to 1