HardDelete

The ES-HardDelete header controls deleting a stream. By default EventStoreDB soft deletes a stream allowing you to later reuse that stream. If you set the ES-HardDelete header EventStoreDB permanently deletes the stream.

curl -X DELETE http://127.0.0.1:2113/streams/newstream -H "ES-HardDelete:true"
1
curl -X DELETE http://127.0.0.1:2113/streams/newstream -H "ES-HardDelete:true"
1

This changes the general behaviour from returning a 404 and the stream to be recreated (soft-delete) to the stream now return a 410 Deleted response.