Delete / purge assets

Hey!

I was trying to find out if there is a way to delete assets from the cache, for example accidentally uploaded ones. Deleted items are not appearing in the media/assets library but the links for all versions stay active for an unknown amount of time.

Sorry if I missed it in the documentation or in the community, but I was not able to find a solution.

Thanks for looking into this :slight_smile:

Currently it’s like you are saying, it’s not possible do delete the assets, but actually we might be able to change that and purge all unliked assets.

We’ll check that and get back to you!

Yes, please check that. It is not okay from an environmental view where server power is produced to serve old documents which are definitely not used any longer. Looking forward hearing from you when you will change this. Thank you!

1 Like

Are there any news?

I mean it’s also really bad in case of data privacy.

Example: If the direct link to an asset is saved it’s still possible to look up this file, even if the administrator deleted the file inside DatoCMS.

This is not acceptable…

hello @jan-daniel.mueller

I see your point of view, the problem for us was that we didn’t duplicate assets on project duplication, to avoid having lots of copies of the same assets (that happened a lot especially for our starter projects).

But we’ve changed that and we can probably now delete the assets once they are deleted from the CMS. We’ll provide feedback on this as soon as we can.

oh @jan-daniel.mueller I forgot that if you need to delete some assets let me know and I can do that for you!