code: public JSONObject clearIndex(RequestOptions requestOptions) throws AlgoliaException {
      return client.postRequest("/1/indexes/" + encodedIndexName + "/clear", "", true, false, requestOptions);
    }
docs: Delete the index content without removing settings and index specific API keys.
  
  @param requestOptions Options to pass to this request