How to delete file from SOFTR AWS after file downloaded using the webhook link?

We are testing solution where user can submit PDF document by filling a form and attaching it. As action on form submission we are sending webhook. Instead of the actual data the webhook receives a SOFTR url, which is fine as we can easily download the PDF down from the link, BUT it seems the link is active in perpetuity, and file remains in the SOFTR AWS server. From data protection point of view, we cannot have files being stored on 3rd party controlled storage, does anyone know how to kill the url or set it to expire?

Thanks in advance

I’m checking in with the team to see if I can find the answer for you. I’ll report back once I know more =)

If you’d like to delete files, we can provide you with an API endpoint that you can hit to delete such files.

1 Like

I might have a solution for you. Can you tell me whether a new API endpoint, which will clean ALL temporarily uploaded images(via form, signup, edit modal…) will work for you?