public static base_responses delete ( nitro_service client , String selectorname [ ] ) throws Exception { base_responses result = null ; if ( selectorname != null && selectorname . length > 0 ) { cacheselector deleteresources [ ] = new cacheselector [ selectorname . length ] ; for ( int i = 0 ; i < selectorname . length ; i ++ ) { deleteresources [ i ] = new cacheselector ( ) ; deleteresources [ i ] . selectorname = selectorname [ i ] ; } result = delete_bulk_request ( client , deleteresources ) ; } return result ; }
Use this API to delete cacheselector resources of given names .