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