Slice onions into half circles as thin as possible. Put them into a glass jar.
Cook the rest of the ingredients until it reaches a boil. Pour over the onions then cover and let cool off. Put the lid on the jar and put in fridge and let it pickle for 2 days to a few weeks.