code: public JSONObject deleteSynonym(String objectID, boolean forwardToReplicas, RequestOptions requestOptions) throws AlgoliaException {
      if (objectID == null || objectID.length() == 0) {
        throw new AlgoliaException("Invalid objectID");
      }
      try {
        return client.deleteRequest("/1/indexes/" + encodedIndexName + "/synonyms/" + URLEncoder.encode(objectID, "UTF-8") + "/?page=forwardToReplicas" + forwardToReplicas, requestOptions);
      } catch (UnsupportedEncodingException e) {
        throw new RuntimeException(e);
      }
    }
docs: Delete one synonym
  
  @param objectID          The objectId of the synonym to delete
  @param forwardToReplicas Forward the operation to the replica indices
  @param requestOptions    Options to pass to this request