code: func (api OrganizationsAPI) SetOrganizationLogo(w http.ResponseWriter, r *http.Request) {
  	globalid := mux.Vars(r)["globalid"]
  
  	body := struct {
  		Logo string
  	}{}
  
  	if err := json.NewDecoder(r.Body).Decode(&body); err != nil {
  		log.Error("Error while saving logo: ", err.Error())
  		http.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest)
  		return
  	}
  
  	logoMgr := organization.NewLogoManager(r)
  
  	// server side file size validation check. Normally uploaded files should never get this large due to size constraints, but check anyway
  	if len(body.Logo) > 1024*1024*5 {
  		log.Error("Error while saving file: file too large")
  		http.Error(w, http.StatusText(http.StatusRequestEntityTooLarge), http.StatusRequestEntityTooLarge)
  		return
  	}
  	_, err := logoMgr.SaveLogo(globalid, body.Logo)
  	if err != nil {
  		log.Error("Error while saving logo: ", err.Error())
  		http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
  		return
  	}
  
  	w.WriteHeader(http.StatusOK)
  }
docs: // SetOrganizationLogo is the handler for PUT /organizations/globalid/logo
  // Set the organization Logo for the organization