docs: def pipeline_delete(id, hosts=None, profile=None):
      '''
      .. versionadded:: 2017.7.0
  
      Delete Ingest pipeline. Available since Elasticsearch 5.0.
  
      id
          Pipeline id
  
      CLI example::
  
          salt myminion elasticsearch.pipeline_delete mypipeline
      '''
      es = _get_instance(hosts, profile)
  
      try:
          ret = es.ingest.delete_pipeline(id=id)
          return ret.get('acknowledged', False)
      except elasticsearch.NotFoundError:
          return True
      except elasticsearch.TransportError as e:
          raise CommandExecutionError("Cannot delete pipeline {0}, server returned code {1} with message {2}".format(id, e.status_code, e.error))
      except AttributeError:
          raise CommandExecutionError("Method is applicable only for Elasticsearch 5.0+")