The short answer is, yes! As per a charter by the Ministry of Civil Aviation, flyers can cancel their tickets within 24 hours of booking. The airlines can, however, levy flight cancellation charges if the tickets are booked less than seven days before the scheduled departure time of the flight

https://community.gopro.com/s/question/0D5Uv00000DtFtRKAV/how-to-cancel-united-flight-tickets-and-get-full-refunds