Client side delete
Has to be something basic..Client side delete.
I include the libraries below in the html and type this....
$.cloudinary.delete_by_token ( delete_token);
----------------
Nothing happens... Yes, I do this within the 10 minutes (In fact, within a minute).
What am I doing wrong...
Note: I cut & paste code, not a coder.
$.cloudinary.delete_by_token(e9d3ab2d4533e6b445dbdfa34c8fb68042624840b1b55d833bdbd2758e52218bdc8e04a6dd25ccd699843921e8e19d01af64b0bcd5fccf361a12dfd5ed025e847540bbe23afbe5c00e84e01583ab714e46ace20b47a64c0e91ca230e7b31488e81dc55f1005b09422b56ffcef2359265d55e922ec492ef2fa3762828c18f0111);
0
-
Do you use our upload widget?
If yes, you will need to enable the `delete token` on your upload preset as you can see here: https://www.screencast.com/t/Rv6p9BikXx6
You can use the curl from the terminal. For example:
curl https://<api key>:<api secret>@api.cloudinary.com/v1_1/<cloud name>/delete_by_token -X POST --data 'token=delete_token'
1
Post is closed for comments.
Comments
1 comment