How can I allow users to delete images after 10 minutes?
Users can upload images to a website. How can I allow them to delete images as well? Reading the docs for Node, I cannot see a way to allow users to delete after 10 minutes.
I have a parameter that is successfully passing the database, that stores the Cloudinary public_id. Unfortunately, this is not working:
`cloudinary.v2.uploader.destroy(req.params.cloudinary_id, function(error, result){console.log(result, error)});`
-
Hi David,
Can you please open a support ticket here: https://support.cloudinary.com/hc/en-us/requests/new and share the params you are passing for deletion. Also share your cloud name and any other relevant information required to reproduce the issue.
Thanks,
Aditi
Please sign in to leave a comment.
Comments
1 comment