Skip to main content

kick_user_handler

Function kick_user_handler 

Source
async fn kick_user_handler(
    __arg0: State<ServerState>,
    __arg1: AuthenticatedClientRequest<Request>,
) -> Result<ArminiusResponse<Response>, InviteUserError>
Expand description

Handler for POST /_matrix/client/v3/rooms/{roomId}/kick (See https://spec.matrix.org/v1.18/client-server-api/#post_matrixclientv3roomsroomidkick).

This endpoint is used to kick a user from a room