Skip to main content

admin_delete_user_media_route

Function admin_delete_user_media_route 

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

§DELETE /_synapse/admin/v1/users/{user_id}/media

Deletes a single page of the user’s media per call; callers loop to drain, mirroring Synapse (the remaining media reorders after each page, so there is no continuation token).