def METHOD_NAME(
    view: Union[view_pb.View, view_pb.CreateViewResponse, view_pb.GetViewResponse, str],
    client: Optional[Client] = None,
    force: bool = False,
) -> view_pb.DeleteViewResponse:
    """
    Deletes a view
    Args:
        view (Union[view_pb.View, view_pb.CreateViewResponse, view_pb.GetViewResponse, str]): The target view object
        client (Client, optional): The Kaskada Client. Defaults to kaskada.KASKADA_DEFAULT_CLIENT.
    Returns:
        view_pb.DeleteViewResponse: Response from the API
    """
    try:
        view_name = get_view_name(view)
        client = get_client(client)
        req = view_pb.DeleteViewRequest(view_name=view_name, force=force)
        logger.debug(f"Delete View Request: {req}")
        return client.view_stub.DeleteView(req, metadata=client.get_metadata())
    except grpc.RpcError as e:
        handleGrpcError(e)
    except Exception as e:
        handleException(e)