Add all of the spices, lime juice and oil in a bowl. Mix together.
Add chicken and coat with marinade. Cover bowl and place in fridge. Let it marinate for 4 hours or overnight.
Heat air fryer to 390° F. Place chicken in single layer in basket, skin side up. Cook for 20-25 minutes. Flip chicken legs half-way through.
Notes
To make this ahead, mix everything except chicken in a freezer quart bag. Add chicken and coat evenly. You can store in freezer for three months.To use, thaw chicken overnight in fridge and follow instructions as follows for cooking chicken in air fryer.