01 - Preheat oven to 425°F. Line a large baking sheet with parchment paper.
02 - In a large bowl, toss potatoes and onions with olive oil, kosher salt, black pepper, dried thyme or rosemary, and minced garlic if using until evenly coated.
03 - Spread the seasoned vegetables evenly on the prepared baking sheet in a single layer, making sure not to overcrowd the pan for optimal caramelization.
04 - Roast for 35 to 40 minutes, flipping halfway through, until potatoes are golden and fork-tender and onions are deeply caramelized.
05 - Remove from oven and garnish with fresh chopped parsley if desired. Serve warm as a side dish.