public JSONObject clearIndex ( RequestOptions requestOptions ) throws AlgoliaException { return client . postRequest ( "/1/indexes/" + encodedIndexName + "/clear" , "" , true , false , requestOptions ) ; }
Delete the index content without removing settings and index specific API keys .