use of io.searchbox.indices.template.DeleteTemplate in project graylog2-server by Graylog2.
the class ClientES6 method deleteTemplates.
@Override
public void deleteTemplates(String... templates) {
for (String template : templates) {
final DeleteTemplate templateRequest = new DeleteTemplate.Builder(template).build();
executeWithExpectedSuccess(templateRequest, "failed to delete template " + template);
}
}
Aggregations