Bring the vinegar, sugar, red pepper, mustard seeds and salt to a boil and stir, then take off the heat.
Combine the zucchini, onion and garlic in a bowl and mix together. Put it all in a 1 quart jar or other container and pour the vinegar mix over it. Refrigerate 24 hours.