'Delete a VS
:param node: OnApp node
:type  node: :class: `OnAppNode`
:param convert_last_backup: set 1 to convert the last VS\'s backup to
template, otherwise set 0
:type  convert_last_backup: ``int``
:param destroy_all_backups: set 1 to destroy all existing backups of
this VS, otherwise set 0
:type  destroy_all_backups: ``int``'

def destroy_node(self, node, ex_convert_last_backup=0, ex_destroy_all_backups=0):

    server_params = {'convert_last_backup': ex_convert_last_backup, 'destroy_all_backups': ex_destroy_all_backups}
    action = '/virtual_machines/{identifier}.json'.format(identifier=node.id)
    self.connection.request(action, params=server_params, method='DELETE')
    return True
