public Result < DeleteSummary > deleteSeries ( Filter filter ) { URI uri = null ; try { URIBuilder builder = new URIBuilder ( String . format ( "/%s/series/" , API_VERSION ) ) ; addFilterToURI ( builder , filter ) ; uri = builder . build ( ) ; } catch ( URISyntaxException e ) { String message = String . format ( "Could not build URI with input - filter: %s" , filter ) ; throw new IllegalArgumentException ( message , e ) ; } HttpRequest request = buildRequest ( uri . toString ( ) , HttpMethod . DELETE ) ; Result < DeleteSummary > result = execute ( request , DeleteSummary . class ) ; return result ; }
Deletes set of series by a filter .