Delete a single ChatroomMessage
Path parameters
-
identifier
string Required
Query parameters
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
DELETE
/api/chat/chatroom_message/{identifier}
curl \
--request DELETE 'https://replace-with-own-host.iw-erp.de/api/chat/chatroom_message/{identifier}' \
--header "x-session-token: $API_KEY"
Response examples (200)
{
"id": 42,
"chatroom": {
"id": 42,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true,
"name": "string",
"image_url": "string"
},
"participant": {
"id": 42,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true,
"name": "string",
"image_url": "string"
},
"message_text": "string",
"attachments": [
{
"id": 42,
"filename": "string",
"filesize": "string",
"mimetype": "string",
"createdbyusername": "string",
"created": "2025-05-04T09:42:00Z",
"googleid": "string",
"scope": "string"
}
],
"reactions": [
{
"id": 42,
"emoji": "string",
"participant": {
"id": 42,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true,
"name": "string",
"image_url": "string"
},
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"image_url": "string",
"deleted": true
}
],
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true
}