Different rides had different height requirements. Some up to 48 inches. But i noticed sometimes there are special arrangements for height challenged to allow them to ride.
40 inches
40" Source: Disneyland app.
Thanks! Your answer is awaiting moderation.