cloudinary_ios icon indicating copy to clipboard operation
cloudinary_ios copied to clipboard

Unable to destroy an image

Open thierrybucco opened this issue 3 years ago • 1 comments

I am unable to destroy an image by doing this call:

cloudinary.createManagementApi().destroy("publicID")

I get this error:

Missing required parameter - signature

What should I do?

thierrybucco avatar Mar 17 '22 16:03 thierrybucco

@thierrybucco According to the error message you are receiving and the code I see that you shared, you are missing the signature, which is a required parameter.

The best practice is to create a signature on the backend, server-side. The reason is that you don't want your API secret to be publicly exposed in your mobile application.

You can find information on our backend SDKs here: https://cloudinary.com/documentation/backend_sdks

esguerrat avatar Mar 17 '22 21:03 esguerrat