cloudinary - Delete images by folder name

Viewed 18

I want to delete all the images inside a folder I tried this way:

await cloudinary.api.delete_resources_by_prefix(
  `/folderName/imageName`,
  (res) => {
    console.log(res);
  }
);

But its not working for me

0 Answers
Related