Older Versions of File?

I have a mapping file that I upload and have File record in our database.

This file gets rebuilt with a new version number on every release of Python API (that accesses the Knack Database.)

The Python API searches for the Knack database record using a record key (name = “mapping_file” or something similar), but the File URL changes the new version number every time we release a new version of our API.

Do we need to manage these older files? They should never be used. The only reference to the URL would be by looking at the record history directly in the Knack Builder Records interface.

Feel like we should be purging them…but I have no idea how.

Hi @mcmasty,

Good question! You can delete your unused assets as long as you replace the file with every new release. You can learn how to do this here: Delete Unused Assets

Edit: As of 08/29/2024, the delete unused assets option has been deactivated while we troubleshoot an issue with that functionality. If you have any questions about this, please reach out to the support team. For updates on this, please refer to our changelog: Delete Unused Assets Change