mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 02:40:22 +00:00
18 lines
311 B
Markdown
18 lines
311 B
Markdown
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.
|