Preheat the oven to 400°F / 200°C and drain the corn.
In a small bowl combine sesame oil, garlic, agave, paprika, cumin, za'tar, salt, and pepper. Squeeze a lemon and add juice to the bowl. Whisk everything together to create a marinade.
Drain the cans of baby corn and pat dry.
Line a baking sheet with foil and add baby corn to the sheet. Brush with marinade until all corn is covered. Pour any remaining marinade over and stir the corn around. Put into the oven and bake for 15 - 20 minutes.
Garnish with sliced green onions. Season with additional salt, pepper, and red pepper flakes if desired. Serve and enjoy!