Preheat the air fryer to 400°F (200°C) for about 5 minutes.
In a mixing bowl, combine the olive oil, garlic powder, onion powder, paprika, salt, black pepper, oregano, and cayenne pepper.
Add the chicken drumsticks to the bowl, and toss them in the seasoning mixture until they are evenly coated.
Lightly spray the air fryer basket with cooking spray to prevent sticking.
Arrange the coated drumsticks in a single layer in the air fryer basket, ensuring they are not overcrowded.
Cook the drumsticks at 400°F (200°C) for 25-30 minutes, flipping them halfway through for even crispiness.
Once cooked, remove the drumsticks from the air fryer and let them rest for a few minutes before serving.
Serve with your favorite dipping sauces, salads, or sides for a complete meal.