def METHOD_NAME(self, template=""):
    if self.needs_init(template):
        template = self._index
    try:
        self._client.transport.perform_request('DELETE', "/_index_template/" + template)
    except NotFoundError:
        pass