Skip to content

Make index required in DELETE index API #4481

@clintongormley

Description

@clintongormley

Currently this request:

DELETE /

... will delete all indices. We should change this to require an index name or wildcard, to prevent data loss from typos.

The delete-all syntax would be either of:

DELETE /_all
DELETE /*

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions