Most customers are unable to do it online. In case your airline does not allow you to transfer the air ticket, you need to cancel the flight ticket and rebook it with another person's name on it as most airlines allow name correction and forbid the transfer of air tickets.