product:chat

Activates user who's been deactivated previously

Sends events:

  • user.reactivated
post/users/{user_id}/reactivate

Request

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

Path parameters

user_idstring required

Request body

created_by_idstring

ID of the user who's reactivating the user

namestring

Set this field to put new name for the user

restore_messagesboolean

Restore previously deleted messages

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

    • breaking

      the response property /// became optional for the status

    • breaking

      the response property /// became optional for the status

    • breaking

      the response property /// became optional for the status

    • info

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