0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-21 05:43:58 +01:00
synapse/docs/admin_api/purge_room.md

19 lines
311 B
Markdown
Raw Normal View History

2019-08-22 11:42:59 +02:00
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.