QCloudDeleteBucketWebsiteRequest Class Reference

Inherits from QCloudBizHTTPRequest
Declared in QCloudDeleteBucketWebsiteRequest.h
QCloudDeleteBucketWebsiteRequest.m

Overview

用于删除存储桶中的静态网站配置

功能说明

DELETE Bucket website 请求用于删除存储桶中的静态网站配置

关于为存储桶配置静态网站接口的具体描述,请查看https://cloud.tencent.com/document/product/436/31928.

示例

@code

QCloudDeleteBucketWebsiteRequest *delReq = [QCloudDeleteBucketWebsiteRequest new];

// 存储桶名称,格式为 BucketName-APPID
delReq.bucket = @"examplebucket-1250000000";

[delReq setFinishBlock:^(id outputObject, NSError *error) {

    // outputObject 包含所有的响应 http 头部
    NSDictionary* info = (NSDictionary *) outputObject;
}];
[[QCloudCOSXMLService defaultCOSXML] DeleteBucketWebsite:delReq];

  bucket

存储桶名

@property (strong, nonatomic) NSString *bucket

Declared In

QCloudDeleteBucketWebsiteRequest.h