Home > @hapoosjs/api-buckets > Buckets > deleteBucket

Buckets.deleteBucket() method

Delete a bucket

Signature:

deleteBucket(bucketName: string, options?: DeleteBucketOptions): Promise<void>;

Parameters

Parameter Type Description
bucketName string Name of the bucket to be deleted
options DeleteBucketOptions (Optional)

Returns:

Promise<void>