public JSONObject clearIndex(@Nullable RequestOptions requestOptions) throws AlgoliaException {
        return client.postRequest("/1/indexes/" + encodedIndexName + "/clear", /* urlParameters: */ null, "", false, requestOptions);
    }
public JSONObject clearIndex(@Nullable RequestOptions requestOptions) throws AlgoliaException {
        return client.postRequest("/1/indexes/" + encodedIndexName + "/clear",  null, "", false, requestOptions);
    }
public JSONObject clearIndex ( @ Nullable RequestOptions requestOptions ) throws AlgoliaException { return client . postRequest ( "/1/indexes/" + encodedIndexName + "/clear" , /* urlParameters: */ null , "" , false , requestOptions ) ; }
Deletes the index content without removing settings and index specific API keys.

@param requestOptions Request-specific options.
@throws AlgoliaException
Deletes the index content without removing settings and index specific API keys .