From 3a6ca74ff526fc15255dcd20652662340b964ff2 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Mon, 6 Feb 2023 08:34:38 +0100 Subject: [PATCH] Add docs about purge room endpoint --- docs/administration/4_adminapi.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/administration/4_adminapi.md b/docs/administration/4_adminapi.md index b3a830b09..6bf44483a 100644 --- a/docs/administration/4_adminapi.md +++ b/docs/administration/4_adminapi.md @@ -66,6 +66,9 @@ Indexing is done in the background, the server logs every 1000 events (or below) This endpoint instructs Dendrite to immediately query `/devices/{userID}` on a federated server. An empty JSON body will be returned on success, updating all locally stored user devices/keys. This can be used to possibly resolve E2EE issues, where the remote user can't decrypt messages. +## POST `/_dendrite/admin/purgeRoom/{roomID}` + +This endpoint instructs Dendrite to remove the given room from its database. It does **NOT** remove media files. Depending on the size of the room, this may take a while. Will return an empty JSON once other components were instructed to delete the room. ## POST `/_synapse/admin/v1/send_server_notice`