In a mixing bowl, combine olive oil, garlic powder, onion powder, paprika, oregano, salt, black pepper, and cayenne pepper (if using) to create a marinade.
Pat the chicken thighs dry with paper towels to ensure crispy skin.
Coat each chicken thigh evenly with the marinade, making sure to get some under the skin for maximum flavor.
Preheat your air fryer to 400°F (200°C) for about 5 minutes.
Place the chicken thighs skin-side up in the air fryer basket, making sure they are not overcrowded.
Cook the chicken thighs in the air fryer for 25 minutes, flipping them halfway through the cooking time for even crispiness. The internal temperature should reach 165°F (74°C).
Once cooked, remove the chicken thighs from the air fryer and let them rest for about 5 minutes before serving.
For added flavor, you can marinate the chicken thighs for a few hours or overnight in the refrigerator before cooking.
Serve the chicken thighs with your favorite side dishes, such as roasted vegetables or a fresh salad.