code: func (s *DashboardService) UpdateDashboardCell(ctx context.Context, dashboardID, cellID platform.ID, upd platform.CellUpdate) (*platform.Cell, error) {
  	op := s.OpPrefix + platform.OpUpdateDashboardCell
  	if err := upd.Valid(); err != nil {
  		return nil, &platform.Error{
  			Op:  op,
  			Err: err,
  		}
  	}
  
  	u, err := newURL(s.Addr, dashboardCellIDPath(dashboardID, cellID))
  	if err != nil {
  		return nil, err
  	}
  
  	b, err := json.Marshal(upd)
  	if err != nil {
  		return nil, err
  	}
  
  	req, err := http.NewRequest("PATCH", u.String(), bytes.NewReader(b))
  	if err != nil {
  		return nil, err
  	}
  
  	req.Header.Set("Content-Type", "application/json")
  	SetToken(s.Token, req)
  
  	hc := newClient(u.Scheme, s.InsecureSkipVerify)
  
  	resp, err := hc.Do(req)
  	if err != nil {
  		return nil, err
  	}
  
  	if err := CheckError(resp, true); err != nil {
  		return nil, err
  	}
  
  	var c platform.Cell
  	if err := json.NewDecoder(resp.Body).Decode(&c); err != nil {
  		return nil, err
  	}
  	defer resp.Body.Close()
  
  	return &c, nil
  }
docs: // UpdateDashboardCell replaces the dashboard cell with the provided ID.