Istanbul police said they detained 127 people on Wednesday for attempting to hold illegal demonstrations in various parts of the city to celebrate May Day.