deleteFileList

Deletes a list of files specified by their keys.

  • Arguments

    • keys: An array of strings representing the keys of the files to delete.
  • Returns

    • A Promise<{deletedCount:number}> that resolves to an object containing the count of deleted files.
import { BreezeUploader } from "breeze-uploader-sdk";

const breeze = new BreezeUploader({
  apiKey: "YOUR_API_KEY",
  secretKey: "YOUR_SECRET_KEY",
});

await breeze.deleteFileList({ keys: ["YOUR_KEY",...] });
Docs and examples licensed under MIT