Preheat the air fryer to 400 °F
Mix together the garlic powder, onion powder, basil and oregano, and toss with the chicken.
Arrange the drumsticks in the basket of the air fryer. Spray lightly with nonstick spray or an olive oil sprayer.
Cook for 8 minutes, flip over, and cook for another 8 minutes.