DELETE ./chat/message

It is used to delete a message and publish into RabbitMq event with type "chat.message.deleted", containing cmsgID key.

Only the owner or user with moderator role can delete messages.

Permission only with school config keys: grpEnabled

DELETE parameters

NameValue TypeValidationDetails
cmsgIDintRequiredMessage ID

Validation

Error FieldError CodeError Message
cmsgID101Invalid cmsgID or already deleted

Output example

{
"result": "true"
}