Skip to main content

admin_redact_user_route

Function admin_redact_user_route 

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

§POST /_synapse/admin/v1/user/{user_id}/redact

Schedules a background task redacting the user’s messages, encrypted events, and join events in the given rooms (all joined and banned rooms when empty), returning the task id for the redact-status endpoint.