You need to enable JavaScript to run this app.
导航

DeleteBucketCustomDomain

最近更新时间2023.11.21 10:22:22

首次发布时间2023.05.24 16:53:12

功能描述

此接口用于删除指定存储桶(Bucket)的的单条自定义域名配置。

注意事项

调用此接口您必须为桶所有者,或被授权当前桶的 DeleteBucketCustomDomain 权限。

请求消息样式

DELETE /?customdomain=example.com HTTP/1.1
Host: bucketname.tos-cn-beijing.volces.com
Date: Fri, 30 Jul 2021 08:05:36 +0000
Authorization: authorization string

请求参数和消息头

该请求使用的公共请求消息头,请参见公共参数

名称

位置

参数类型

是否必选

示例值

说明

customdomain

Query

String

customdomain=example.com

代表 DeleteBucketCustomDomain 请求的特殊标识,设置需要删除的自定义域名。

请求元素

该请求不使用消息元素。

响应消息头

该请求返回的公共响应消息头,请参见公共参数

响应元素

该接口不使用响应元素

请求示例

DELETE /?customdomain=example.com HTTP/1.1
Host: bucketname.tos-cn-beijing.volces.com
Date: Fri, 30 Jul 2021 08:05:36 +0000
Authorization: authorization string

响应示例

HTTP/1.1 200 OK
Date: Fri, 30 Jul 2021 13:53:55 GMT
Server: TosServer
x-tos-id-2: 1e89f203jld00006-a444fd0
x-tos-request-id: 1e89f203b2d00006-a444ed0