I'm deleting my videos and after receiving a 200 OK response - the resources are still there

In general, our APIs deal with images by default, including our DELETE methods.

That is why when trying to delete or edit resources of another type (i.e. Video or Raw) the resource_type parameter must be included.

For example (deleting videos with NodeJS):

cloudinary.api.delete_resources(public_ids,
function(result){console.log(result)}, { resource_type: "video" });
Have more questions? Submit a request

Comments

Powered by Zendesk