@cpod/sdk - v0.2.7
    Preparing search index...

    Function deleteFile

    • Delete a file by ID

      Parameters

      • fileId: string

        The unique identifier of the file to delete

      Returns Promise<void>

      void

      401 - Not authenticated

      403 - Not authorized to delete this file

      404 - File not found

      import { deleteFile } from "@cpod/sdk";

      await deleteFile("file-123");
      console.log("File deleted successfully");