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