01 - Preheat the oven to 425°F and line a large baking tray with parchment paper.
02 - In a large bowl, toss the pumpkin cubes with olive oil, sea salt, black pepper, and herbs if using until evenly coated.
03 - Spread the seasoned pumpkin cubes in a single layer on the prepared baking tray.
04 - Roast in the oven for 25 to 30 minutes, turning halfway through, until the pumpkin is tender and golden with caramelized edges.
05 - Remove from oven and garnish with chopped parsley and toasted pumpkin seeds if desired. Serve warm.