code: func (h *ViewHandler) handleDeleteView(w http.ResponseWriter, r *http.Request) {
  	ctx := r.Context()
  
  	req, err := decodeDeleteViewRequest(ctx, r)
  	if err != nil {
  		EncodeError(ctx, err, w)
  		return
  	}
  
  	if err := h.ViewService.DeleteView(ctx, req.ViewID); err != nil {
  		EncodeError(ctx, err, w)
  		return
  	}
  
  	w.WriteHeader(http.StatusNoContent)
  }
docs: // handleDeleteView removes a view by ID.