Rub 1 tablespoon of oil over chicken legs. Combine salt, pepper, onion powder, garlic powder and paprika and rub evenly over all chicken legs.
Brush remaining 1 tablespoon of oil on the air fryer rack in the basket.
Place seasoned chicken legs in the basket and cook at 400 degrees F for about 8 minutes. Flip, and continue cooking for 6-7 minutes until an internal temperature of 165 degrees F is reached (make sure the meat thermometer is away from the bone). You can cook a few extra minutes if you want them crispier.
Remove from the air fryer and let rest for 5-10 minutes before serving.