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