Home > @hapoosjs/api-buckets > Buckets > createBucket
Create a new bucket.
Signature:
createBucket(bucketName: string, options?: CreateBucketOptions): Promise<void>;
| Parameter | Type | Description |
|---|---|---|
| bucketName | string | Bucket name |
| options | CreateBucketOptions | (Optional) |
Returns:
Promise<void>