b2DeleteFileVersion deletes a version of a file in the user's account
on the Backblaze B2 cloud storage product.
Usage
b2DeleteFileVersion(fileName, fileId)
Arguments
fileName
The name of the file to be deleted. File names may be
obtained through the b2ListFileNames function in this package.
fileId
The unique identifier of the file to be deleted. File IDs may
be obtained through the b2UploadFile, b2ListFileNames, or
b2ListFileVersions functions in this package.
Value
If successful a list containing the fileId and fileName
will be echoed back to the user.
Details
This function deletes a version of a file within the user's account on the
Backblaze B2 cloud storage product. Files of the same name may have multiple
versions stored on B2. If the deleted file version is the latest, and there
are older versions of the same file, the most recent of these will become the
latest version. The most recent file version is always the version downloaded
if requested by name. Further details regarding this API call are available
here: