Cut the onion into half rings and place in a bowl.
Pour boiling water over the onion for 3-5 minutes so that the water completely covers it.
Drain most of the water and add sugar, salt and vinegar to the onions. Transfer the onions to a jar with a lid and leave to marinate for another 30 minutes.