2019-08-22 03:42:59 -06: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.
|
|
|
|
|
2020-07-14 05:36:23 -06:00
|
|
|
See also: [Delete Room API](rooms.md#delete-room-api)
|
|
|
|
|
2019-08-22 03:42:59 -06:00
|
|
|
The API is:
|
|
|
|
|
|
|
|
```
|
|
|
|
POST /_synapse/admin/v1/purge_room
|
|
|
|
|
|
|
|
{
|
|
|
|
"room_id": "!room:id"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
You must authenticate using the access token of an admin user.
|