Toss your diced zucchini in a large bowl with olive oil. Season with oregano, basil, garlic powder, onion powder, and salt. Use your hands or a spoon to move the zucchini around so each piece is evenly coated.
Place them in the air fryer at 400 degrees for 12 to 15 minutes.
If your air fryer has a basket you’ll want to stop cooking halfway through and shake the zucchini. This keeps the pieces at the bottom from becoming underdone. Place the basket back in the air fryer and cook until done.
Notes
Air fryer cooking time always varies based on the type of air fryer you use. A convection oven style air fryer will cook faster because your food isn't piled on top of each other. A compact basket air fryer will take the most time. As you use your air fryer regularly you'll start to get a better feel for how quickly or slowly yours cooks.