docs: def document_delete(index, doc_type, id, hosts=None, profile=None):
      '''
      Delete a document from an index
  
      index
          Index name where the document resides
      doc_type
          Type of the document
      id
          Document identifier
  
      CLI example::
  
          salt myminion elasticsearch.document_delete testindex doctype1 AUx-384m0Bug_8U80wQZ
      '''
      es = _get_instance(hosts, profile)
  
      try:
          return es.delete(index=index, doc_type=doc_type, id=id)
      except elasticsearch.exceptions.NotFoundError:
          return None
      except elasticsearch.TransportError as e:
          raise CommandExecutionError("Cannot delete document {0} in index {1}, server returned code {2} with message {3}".format(id, index, e.status_code, e.error))