

def delete_host(resource_root, host_id):
    'Delete a host by id\n\n    :param resource_root: The root Resource object.\n    :param host_id: Host id\n    :return: The deleted ApiHost object\n    '
    return types.call(resource_root.delete, ('%s/%s' % (HOSTS_PATH, host_id)), ApiHost)

dataset/ETHPy150Open openstack/sahara/sahara/plugins/cdh/client/hosts.py delete_host/original