code: func deleteValueDescriptorByIdHandler(w http.ResponseWriter, r *http.Request) {
  	defer r.Body.Close()
  
  	vars := mux.Vars(r)
  	id := vars["id"]
  
  	err := deleteValueDescriptorById(id)
  	if err != nil {
  		switch err.(type) {
  		case *errors.ErrDbNotFound:
  			http.Error(w, err.Error(), http.StatusNotFound)
  			return
  		case *errors.ErrValueDescriptorInvalid:
  			http.Error(w, err.Error(), http.StatusBadRequest)
  			return
  		case *errors.ErrValueDescriptorInUse:
  			http.Error(w, "Data integrity issue. Value Descriptor still in use by readings", http.StatusConflict)
  			return
  		case *errors.ErrInvalidId:
  			http.Error(w, err.Error(), http.StatusBadRequest)
  			return
  		default:
  			http.Error(w, err.Error(), http.StatusInternalServerError)
  			return
  		}
  	}
  
  	w.Header().Set("Content-Type", "application/json")
  	w.WriteHeader(http.StatusOK)
  	w.Write([]byte("true"))
  }
docs: // Delete the value descriptor based on the ID
  // DataValidationException (HTTP 409) - The value descriptor is still referenced by readings
  // NotFoundException (404) - Can't find the value descriptor
  // valuedescriptor/id/{id}