Place the eggs in the air fryer basket and cook 250F 15 minutes for a softer yolk, or 17 minutes for a firmer yolk (time may vary depending on the make and model of your air fryer).
Run under cold water and peel right away.
Video
Notes
This method will work for 1 egg or 1 dozen eggs, same cook time. No need to pre-heat the air fryer.