Place the onions in a jar or cup. In a bowl, whisk together the warm water, sugar and salt until the sugar and salt dissolve. Whisk in the vinegar. Pour over the sliced onions. Let sit at room temperature for 30 minutes to 1 hour. You can obviously make this ahead of time and once made, store it in the fridge in a sealed container or jar.