put the onions in a bowl, drizzle with oil, and sprinkle with salt. spread the onions out in an air fryer basket or on an air fryer tray. if you have an air fryer oven, put the tray in the middle of the air fryer. air fry onions for a total of 12 minutes at 350degf (177degc).