In a bowl, combine ham, mayonnaise, sweet relish, onions, sugar, and salt. Stir to evenly distribute.
Cover and refrigerate for at least 1 hour to chill.