forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Jawei, Li <lijiawei5@huawei.com> Co-committed-by: Jawei, Li <lijiawei5@huawei.com>
98 lines
5.6 KiB
HTML
98 lines
5.6 KiB
HTML
<a name="obs_04_0061"></a><a name="obs_04_0061"></a>
|
|
|
|
<h1 class="topictitle1">Deleting the Custom Domain Name of a Bucket</h1>
|
|
<div id="body1547543646680"><div class="section" id="obs_04_0061__section137721429163611"><h4 class="sectiontitle">Functions</h4><p id="obs_04_0061__p18313566411">OBS uses the DELETE method to delete the custom domain name of a bucket.</p>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section331952113719"><h4 class="sectiontitle">Request Syntax</h4><div class="codecoloring" codetype="Xml" id="obs_04_0061__screen8308647352"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6</pre></div></td><td class="code"><div class="highlight"><pre><span></span>DELETE /?customdomain=domainname HTTP/1.1
|
|
User-Agent: curl/7.29.0
|
|
Host: bucketname.obs.region.example.com
|
|
Accept: */*
|
|
Date: date
|
|
Authorization: authorization string
|
|
</pre></div>
|
|
</td></tr></table></div>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section99761026183718"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_04_0061__table34931235193212" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Request parameters</caption><thead align="left"><tr id="obs_04_0061__row195001352328"><th align="left" class="cellrowborder" valign="top" width="22.430000000000003%" id="mcps1.3.3.2.2.4.1.1"><p id="obs_04_0061__p750214358321">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.260000000000005%" id="mcps1.3.3.2.2.4.1.2"><p id="obs_04_0061__p95049355327">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.310000000000002%" id="mcps1.3.3.2.2.4.1.3"><p id="obs_04_0061__p185061235143215">Mandatory</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_04_0061__row175081135133212"><td class="cellrowborder" valign="top" width="22.430000000000003%" headers="mcps1.3.3.2.2.4.1.1 "><p id="obs_04_0061__p19510123510324">customdomain</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.260000000000005%" headers="mcps1.3.3.2.2.4.1.2 "><p id="obs_04_0061__p16551024153319">Specifies the custom domain name to be deleted.</p>
|
|
<p id="obs_04_0061__p3653204810576">Type: string, which must meet the naming convention of domain names.</p>
|
|
<p id="obs_04_0061__p154809270334">Specifications: The value contains a maximum of 256 characters.</p>
|
|
<p id="obs_04_0061__p163341526203219">No default value.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.310000000000002%" headers="mcps1.3.3.2.2.4.1.3 "><p id="obs_04_0061__p853293516321">Yes</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section103169407369"><h4 class="sectiontitle">Request Header</h4><p id="obs_04_0061__p1231635205817">This request uses common headers. For details, see <a href="obs_04_0007.html#obs_04_0007__table25197309">Table 3</a>.</p>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section12410140203613"><h4 class="sectiontitle">Request Elements</h4><p id="obs_04_0061__p1863913396351">This request involves no elements.</p>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section311855514451"><h4 class="sectiontitle">Response Syntax</h4><div class="codecoloring" codetype="Xml" id="obs_04_0061__screen078717502408"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
|
|
2
|
|
3
|
|
4
|
|
5</pre></div></td><td class="code"><div class="highlight"><pre><span></span>HTTP/1.1 204 No Content
|
|
Server: OBS
|
|
x-obs-request-id: request id
|
|
x-obs-id-2: id
|
|
Date: date
|
|
</pre></div>
|
|
</td></tr></table></div>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section1033718854612"><h4 class="sectiontitle">Response Headers</h4><p class="msonormal" id="obs_04_0061__p1512332591013">The response to the request uses common headers. For details, see <a href="obs_04_0013.html#obs_04_0013__d0e686">Table 1</a>.</p>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section1193415543460"><h4 class="sectiontitle">Response Elements</h4><p id="obs_04_0061__p157031112183617">This response involves no elements.</p>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section69808131474"><h4 class="sectiontitle">Error Responses</h4><p id="obs_04_0061__p117033916213">No special error responses are returned. For details about error responses, see <a href="obs_04_0115.html#obs_04_0115__d0e843">Table 2</a>.</p>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section1898063115476"><h4 class="sectiontitle">Sample Request</h4><div class="codecoloring" codetype="Xml" id="obs_04_0061__screen8237209161014"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6</pre></div></td><td class="code"><div class="highlight"><pre><span></span>DELETE /?customdomain=obs.ccc.com HTTP/1.1
|
|
User-Agent: curl/7.29.0
|
|
Host: examplebucket.obs.region.example.com
|
|
Accept: */*
|
|
Date: Mon, 14 Jan 2019 08:27:50 +0000
|
|
Authorization: OBS UDSIAMSTUBTEST000094:ACgHHA1z+dqZhqS7D2SbU8ugluw=
|
|
</pre></div>
|
|
</td></tr></table></div>
|
|
</div>
|
|
<div class="section" id="obs_04_0061__section10137146134719"><h4 class="sectiontitle">Sample Response</h4><div class="codecoloring" codetype="Xml" id="obs_04_0061__screen1211514313104"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre>1
|
|
2
|
|
3
|
|
4
|
|
5</pre></div></td><td class="code"><div class="highlight"><pre><span></span>HTTP/1.1 204 No Content
|
|
Server: OBS
|
|
x-obs-request-id: 000001697694073F80E9D3D43BB10B8F
|
|
x-obs-id-2: 32AAAQAAEAABSAAgAAEAABAAAQAAEAABCSyjWyXNRPSnFymJW0AI59GKpW0Qm9UJ
|
|
Date: Wed, 13 Mar 2019 10:23:26 GMT
|
|
</pre></div>
|
|
</td></tr></table></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_04_0026.html">Advanced Bucket Settings</a></div>
|
|
</div>
|
|
</div>
|
|
|