Skip to API content
TalkLabs API Docs v3
Recipes
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.

DELETE /api/v3/{appid}/chat/rooms/{roomid}/events/{eventid}

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
Search all 118 endpoints Try “join room”, “moderate”, or “POST”.
Request environment

Connect your application

These values fill request examples and the API console. They stay in this browser tab and are never sent to TalkLabs until you run a request.

Credentials are stored in sessionStorage, not in cookies or analytics.