Skip to main content

admin_purge_history_route

Function admin_purge_history_route 

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

§POST /_synapse/admin/v1/purge_history/{room_id}

Schedules a background purge of the room’s history strictly before the given event or timestamp, returning the purge task id.