ODK Central - How to delete a submission

Welcome @JTrejos! Please take a moment to introduce yourself so that we can learn a bit more about your projects.

At the moment, there is still no way to delete a submission from Central, but it is on our roadmap. We understand there are issues with the database storage size, especially when using Central as part of a larger data pipeline.

If you have a good technical understanding of how Central is set up (which it sounds like you might), there is a way to lower the waiting period by editing a config file in the backend server. It is not officially documented and it is not configurable via the main .env configuration (used in 2023.2 and later), but is something we use in testing. Please use responsibly/with caution and know it could make upgrading awkward or change in the future.

Alternatively, without changing any config files, you can run the form purging command directly with a special flag. See the flag options here:
docker compose exec service node lib/bin/purge-forms.js --help

1 Like