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

Buckets.setWebsiteConfiguration() method

Set Website configuration associated with a bucket

Signature:

setWebsiteConfiguration(bucketName: string, options: BucketWebsiteConfiguration): Promise<BucketWebsiteConfiguration>;

Parameters

Parameter Type Description
bucketName string Bucket name
options BucketWebsiteConfiguration Website configuration settings

Returns:

Promise<BucketWebsiteConfiguration>