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