Scalr\Service\Aws\S3\V20060301\S3Api::deleteBucketWebsite PHP Method

deleteBucketWebsite() public method

This operation removes the website configuration for a bucket. Amazon S3 returns a 200 OK response upon successfully deleting a website configuration on the specified bucket. You will get a 200 OK response if the website configuration you are trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if the bucket specified in the request does not exist.
public deleteBucketWebsite ( string $bucketName ) : boolean
$bucketName string A bucket name.
return boolean Returns true on success or throws an exception.
    public function deleteBucketWebsite($bucketName)
    {
        return $this->deleteBucketSubresource($bucketName, 'website');
    }