The 24-hour rule ensures free cancellations or changes on most flights that:
originate in or are going to the US on any airline, not just US-based companies, and
were booked directly with the airline, and
were booked at least seven days in advance.