How to delete durable object completely?

Hi, I use Cloudflare Workers and enjoy them,

I spawn a new durable object for each user session.
I use durable objects because I need data to be consistent.
I want to delete durable objects when their job is done.

As mentioned here Delete Durable Object?
I tried to delete all the data. But when I list the durable objects using the Cloudflare API, durable objects are still there. In the API response, it says for each old durable object "hasStoredData": false, that’s ok but I want to remove them completely. Because the list keeps growing and growing with expired durable objects. It feels like it is some kind of memory leak to me.

1 Like


Same issue. Listing via the CF API shows empty DOs that should have been deleted.