code: func (s *APIAggregator) RemoveAPIService(apiServiceName string) {
  	version := apiregistration.APIServiceNameToGroupVersion(apiServiceName)
  
  	proxyPath := "/apis/" + version.Group + "/" + version.Version
  	// v1. is a special case for the legacy API.  It proxies to a wider set of endpoints.
  	if apiServiceName == legacyAPIServiceName {
  		proxyPath = "/api"
  	}
  	s.GenericAPIServer.Handler.NonGoRestfulMux.Unregister(proxyPath)
  	s.GenericAPIServer.Handler.NonGoRestfulMux.Unregister(proxyPath + "/")
  	if s.openAPIAggregationController != nil {
  		s.openAPIAggregationController.RemoveAPIService(apiServiceName)
  	}
  	delete(s.proxyHandlers, apiServiceName)
  
  	// TODO unregister group level discovery when there are no more versions for the group
  	// We don't need this right away because the handler properly delegates when no versions are present
  }
docs: // RemoveAPIService removes the APIService from being handled.  It is not thread-safe, so only call it on one thread at a time please.
  // It's a slow moving API, so it's ok to run the controller on a single thread.