b2DeleteBucket: Delete B2 Bucket.

Description Usage Arguments Details Value Examples

View source: R/b2DeleteBucket.R

Description

b2DeleteBucket deletes an existing bucket in the user's account on the Backblaze B2 cloud storage product.

Usage

1
b2DeleteBucket(bucketId)

Arguments

bucketId

The unique identifier of the bucket to be deleted. A list of all the user's bucket IDs may be found using the b2_list_buckets function in this package.

Details

This function deletes an existing bucket within the user's account on the Backblaze B2 cloud storage product. Further details regarding this API call are available here:

https://www.backblaze.com/b2/docs/b2_delete_bucket.html

bucketId is mandatory and must be user defined.

Value

If successful a list containing the accountId, bucketId, bucketName and bucketType of the deleted bucket will all be echoed back to the user.

Examples

1
2
3
4
## Not run: 
b2DeleteBucket(bucketId = "aUniqueBucketId")

## End(Not run)

backblazer documentation built on May 30, 2017, 6:15 a.m.