Grease the Air Fryer Basket with cooking spray and then slide inside.
Adjust the temperature of Air to Fryer 370 °F to preheat for 5 minutes.
Arrange the bread slices onto a smooth surface.
Spread the butter over one side of each bread slice evenly.
Arrange 1 cheese slice over the buttered side of 2 slices, followed by ham slices.
Top with the remaining slices of bread.
After preheating, arrange the sandwiches into the greased Air Fryer Basket in a single layer.
Slide the basket into Air Fryer and set the time for 8 minutes.
After 5 minutes of cooking, flip the sandwiches.
After cooking time is finished, remove the sandwiches from Air Fryer and serve.