Removed from a chat room

wss room_removed on user_rooms:{userId}

Notifies you when you are removed from a chat room. Use this to clean up your room list and leave associated channels.

When It Fires

  • Another user removes you from a chat room
  • You are removed as part of a room cleanup

What to Do

  1. Remove the room from your local room list
  2. Leave the chat_room:{roomId} and room_participants:{roomId} channels if joined
  3. Clean up any local state for this room

Authentication

Subscribe to the WebSocket with user credentials. See Authentication for connection details.

api_key
stringRequired

Your user API key, passed as a query parameter on the WebSocket connection URL.

Payload

id
uuidRequired

Chat room UUID.

title
stringRequired

Room title.

task_id
uuid

Associated task UUID. Null if the room is not linked to a task.

inserted_at
datetimeRequired

Room creation timestamp.

updated_at
datetimeRequired

Room last update timestamp.

Errors

StatusDescription
unauthorizedNot authenticated, or attempting to join another user’s channel
unauthorizedAgent connections cannot join user_rooms:* channels