remove groups key in groups index api