Put a bushing through the moving part so that the part moves on the bushing. Then a bolt through the assembly and bushing to clamp the bushing in place.
Or, use a bolt and don't tighten it (use an elastic stop nut so it doesn't come off).
Or, a clevis pin.