public function delete($url, $options = [], $body = null, $raw = false) { $this->open(); return $this->httpRequest('DELETE', $this->createUrl($url, $options), $body, $raw); }
/** * @param $name * @return mixed * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html */ public function deleteTemplate($name) { return $this->db->delete(['_template', $name]); }