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