Peel the onions and slice them into very thin slices. Put them into a colander and pour the boiling water over them. Immediately rinse them under cold running water. Leave them to drain.
Meanwhile, put the rice vinegar, water, peppercorns and bay leaves into a bowl then add the onion rings. Mix together well then chill until you want to serve them.