Preheat your oven to 400°F. Line a baking sheet with aluminum foil for easy cleanup and place a wire rack on top.
In a large bowl, combine the olive oil, garlic powder, onion powder, smoked paprika, salt, black pepper, and cayenne pepper. Mix well to create a marinade.
Add the chicken pieces to the bowl and toss until they are evenly coated with the marinade.
Place the marinated chicken pieces skin-side up on the wire rack.
Bake in the preheated oven for 35-45 minutes, or until the internal temperature reaches 165°F and the skin is crispy.
During the last 10 minutes of cooking, brush the chicken with BBQ sauce to glaze it. Return to the oven to finish cooking.
Remove the chicken from the oven and let it rest for 5 minutes before serving.