In a bowl, add the chicken legs and buttermilk and refrigerate for about 2 hours.
In another bowl, mix together the flour, spices, salt and black pepper.
Remove the chicken from buttermilk.
Coat the chicken legs with flour mixture, then dip into buttermilk and finally coat with the flour mixture again.
Grease the Air Fryer Basket with cooking spray and then slide inside.
Adjust the temperature of Air Fryer to 360 °F to preheat for 5 minutes.
Spray the chicken legs with cooking spray evenly.
After preheating, arrange the chicken legs into the greased Air Fryer Basket in a single layer.
Slide the basket into Air Fryer and set the time for 20-25 minutes.
After cooking time is finished, remove the chicken legs from Air Fryer and serve.