diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 11:55:27 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-27 11:55:27 +0100 |
commit | baeaf00a1239f6cf530e8e48775dcbcf6a40193f (patch) | |
tree | ea674eb0f876f29cc6aa299832408c7c4dce6078 /docs/admin_api/purge_room.md | |
parent | Tear out current room & user statistics (#5880) (diff) | |
parent | Allow schema deltas to be engine-specific (#5911) (diff) | |
download | synapse-baeaf00a1239f6cf530e8e48775dcbcf6a40193f.tar.xz |
Merge branch 'develop' into rei/rss_target
Diffstat (limited to 'docs/admin_api/purge_room.md')
-rw-r--r-- | docs/admin_api/purge_room.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/admin_api/purge_room.md b/docs/admin_api/purge_room.md new file mode 100644 index 0000000000..64ea7b6a64 --- /dev/null +++ b/docs/admin_api/purge_room.md @@ -0,0 +1,18 @@ +Purge room API +============== + +This API will remove all trace of a room from your database. + +All local users must have left the room before it can be removed. + +The API is: + +``` +POST /_synapse/admin/v1/purge_room + +{ + "room_id": "!room:id" +} +``` + +You must authenticate using the access token of an admin user. |