Preheat your air fryer to 400°F (200°C) for 3 minutes.
In a large bowl, toss the diced potatoes with olive oil, garlic powder, smoked paprika, onion powder, dried rosemary, salt, and black pepper until evenly coated.
Spread the seasoned potatoes in a single layer in the air fryer basket. Cook for 10 minutes.
Shake the basket or toss the potatoes, then continue air frying for another 8 minutes, or until golden brown and crispy.
Transfer the potatoes to a serving dish and garnish with chopped fresh parsley if desired. Serve immediately.