01 - Preheat the oven to 425°F. Line a large baking tray with parchment paper.
02 - In a large bowl, toss pumpkin cubes with olive oil, sea salt, black pepper, and dried herbs if using, ensuring even coating.
03 - Spread the seasoned pumpkin in a single layer on the prepared baking tray.
04 - Roast for 25 to 30 minutes, turning once halfway through, until pumpkin pieces are tender and caramelized at the edges.
05 - Remove from oven. Optionally sprinkle with chopped parsley and toasted pumpkin seeds. Serve warm.