code: def remove_service(service=str):
      '''
      Remove Swarm Service
  
      service
          The name of the service
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' swarm.remove_service service=Test_Service
      '''
      try:
          salt_return = {}
          client = docker.APIClient(base_url='unix://var/run/docker.sock')
          service = client.remove_service(service)
          salt_return.update({'Service Deleted': service,
                              'Minion ID': __context__['server_name']})
      except TypeError:
          salt_return = {}
          salt_return.update({'Error': 'service arg is missing?'})
      return salt_returf remove_service(service=str):
      '''
      Remove Swarm Service
  
      service
          The name of the service
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' swarm.remove_service service=Test_Service
      '''
      try:
          salt_return = {}
          client = docker.APIClient(base_url='unix://var/run/docker.sock')
          service = client.remove_service(service)
          salt_return.update({'Service Deleted': service,
                              'Minion ID': __context__['server_name']})
      except TypeError:
          salt_return = {}
          salt_return.update({'Error': 'service arg is missing?'})
      return salt_return
docs: Remove Swarm Service
  
      service
          The name of the service
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' swarm.remove_service service=Test_Service