United Airlines’ cancellation policy allows passengers to cancel within 24 hours of booking for a full refund if booked a week or more before departure. After 24 hours, fees may apply depending on the fare type. Basic Economy tickets are generally non-refundable, while other fares allow modifications.
https://www.devex.com/people/what-is-the-cancellation-policy-for-united-airlines-2088831