Added deindex method to API