Line the air fryer basket with foil to create a well that is large enough to contain the ham. This will help contain the juices.
Put the ham into the foil "basket" and cover the ham with foil, preferably so that that foil is not touching the ham, and cook at 300 °F (150 °C) for 50 minutes.
Cook the ham at 375 °F (190 °C) for another 10 minutes.
In place of fresh garlic and herbs, you can use: