According to
https://www.delta.com/ca/en/change-c...flight/#24hour you must cancel before departure.
Cancellation request must be made by midnight of the day after the eTicket is purchased or midnight of the departure date of the first flight, whichever comes first. Cancellation request must be made before travel commences for the first flight.