DELETE Chat
Delete Event
This will parmenently delete an event from the room and it will trigger a "remove" event to be sent as an update, so you can remove it from your display.
This will parmenently delete an event from the room and it will trigger a "remove" event to be sent as an update, so you can remove it from your display.
URL Parameters
- userid : (Optional) If provded, a check will be made to enforce this userid (the one deleting the event) is the owner of the event or has elevated permissions. If null, it assumes your business service made the determination to delete the event. If it is not provided this authorization check is bypassed.
Request
Parameters
Values in the path and query string.
appid path string TalkLabs ID required
The TalkLabs application ID assigned to your account.
Example:your-app-id roomid path string TalkLabs ID required
The TalkLabs assigned room ID returned when the room was created.
Example:room-id eventid path string TalkLabs ID required
The TalkLabs assigned chat event ID.
userid query string customer-defined
The customer defined user ID from your application or identity system.
Example:u-8842 Response
Status codes
Every JSON response uses the API result envelope.
200 OK ApiResult 400 Bad Request ApiResult 403 Forbidden ApiResult 404 Not Found ApiResult 500 Internal Server Error ApiResult