Elastic versions <=7.17 allow deleting indexes with a wildcard by default. At some point this was changed to disallow by default. It would be helpful to add a note about this in the documentation, logs, or exception message.
php artisan elastic:migrate:fresh
400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Wildcard expressions or all indices are not allowed"}],"type":"illegal_argument_exception","reason":"Wildcard expressions or all indices are not allowed"},"status":400}
Elastic versions
<=7.17
allow deleting indexes with a wildcard by default. At some point this was changed to disallow by default. It would be helpful to add a note about this in the documentation, logs, or exception message.https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-delete-index.html#delete-index-api-path-params