Preheat the oven to 360 degrees F.
Empty the insides of the chicken, leaving a cavity.
Pat dry the chicken with a paper towel. Then rub the olive oil all over the chicken.
Mix all the spices in a bowl and rub the seasoning over the chicken's skin.
Prick the lemon with a fork and place it inside the empty chicken.
Place the thyme inside too.
Place the chicken in the air fryer with the breast down for the first time and cook at 360 degrees for 30 minutes.
Once done, flip the chicken and cook for another 30 minutes.
Once the chicken is thoroughly cooked, take it out and rest for about 10 minutes before slicing and serving.