code: func (c *Cluster) RemoveService(input string) error {
  	return c.lockedManagerAction(func(ctx context.Context, state nodeState) error {
  		service, err := getService(ctx, state.controlClient, input, false)
  		if err != nil {
  			return err
  		}
  
  		_, err = state.controlClient.RemoveService(ctx, &swarmapi.RemoveServiceRequest{ServiceID: service.ID})
  		return err
  	})
  }
docs: // RemoveService removes a service from a managed swarm cluster.