Users
Deletes all of a user's messages.
Deletes all messages posted by the given user from one or more rooms, or from all rooms on the server.
The caller must have moderator permission in all given rooms, or be a server moderator for global server deletion.
post/user/{sessionId}/deleteMessages
Path parameters
sessionIdstring required
The Session ID is the fixed byte 05 followed by the 32-byte X25519 pubkey used to sign and encrypt messages.
Session ID of a user.
Request body
Example request
{
"rooms": [
"session-general"
]
}Response
Messages deleted successfully.
Changes
No recorded changes to this endpoint across all 21 revisions of this API.