Skip to main content
DELETE
/
v1
/
portal
/
rooms
/
{room_name}
/
messages
/
{message_id}
curl -X DELETE https://hapi.7331.org/v1/portal/rooms/general/messages/1710000000000-0 \
  -b cookies.txt
{
  "ok": true
}
Requires an active session cookie with Moderator or higher permissions. Deletes a single message from the room’s portal stream and broadcasts a message:deleted event to all clients in the room.
room_name
string
required
Name of the room containing the message.
message_id
string
required
ID of the message to delete (Redis stream ID).

Response

ok
boolean
required
true if the message was deleted.
curl -X DELETE https://hapi.7331.org/v1/portal/rooms/general/messages/1710000000000-0 \
  -b cookies.txt
{
  "ok": true
}