Skip to main content

admin_delete_room_v1_route

Function admin_delete_room_v1_route 

Source
pub(crate) async fn admin_delete_room_v1_route(
    __arg0: State<State>,
    body: Args<Request>,
) -> Result<Response>
Expand description

§DELETE /_synapse/admin/v1/rooms/{room_id}

Synchronously evicts the room’s local users, optionally purges its storage (purge, default true) and blocks it (block), returning the shutdown outcome. The replacement-room fields are accepted and ignored, so no redirect room is created (new_room_id is always null).