View source: R/b2DeleteFileVersion.R
b2DeleteFileVersion | R Documentation |
b2DeleteFileVersion
deletes a version of a file in the user's account
on the Backblaze B2 cloud storage product.
b2DeleteFileVersion(fileName, fileId)
fileName |
The name of the file to be deleted. File names may be
obtained through the |
fileId |
The unique identifier of the file to be deleted. File IDs may
be obtained through the |
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:
https://www.backblaze.com/b2/docs/b2_delete_file_version.html
fileName
and fileId
are mandatory and must be user defined.
If successful a list containing the fileId
and fileName
will be echoed back to the user.
## Not run:
b2DeleteFileVersion(fileName = "nameOfTheFileToDelete",
fileId = "Unique_identifier_of_the_file_to_delete")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.