forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
88 lines
7.2 KiB
HTML
88 lines
7.2 KiB
HTML
<a name="waf_02_0016"></a><a name="waf_02_0016"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Domain Name</h1>
|
|
<div id="body5346057"><div class="section" id="waf_02_0016__section12424902"><h4 class="sectiontitle">Function Description</h4><p class="msonormal" id="waf_02_0016__p30377435">This API is used to delete a domain name.</p>
|
|
<div class="notice" id="waf_02_0016__note28821723203820"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="waf_02_0016__p2882523103812">Deleting a domain name relies on some components, such as DNS. These components may cause deletion failed.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="waf_02_0016__section44715260"><h4 class="sectiontitle">URI</h4><ul id="waf_02_0016__ul44653186"><li id="waf_02_0016__li66334361">URI format<p id="waf_02_0016__p60138342"><a name="waf_02_0016__li66334361"></a><a name="li66334361"></a>DELETE /v1/{project_id}/waf/instance/{instance_id}?keepPolicy={keepPolicy}</p>
|
|
</li><li id="waf_02_0016__li4374170">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0016__table39367534" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="waf_02_0016__row49918595"><th align="left" class="cellrowborder" valign="top" width="25.507449255074494%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="waf_02_0016__p16874366"><strong id="waf_02_0016__b8423192211398">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.2.2.2.1.2.5.1.2"><p id="waf_02_0016__p24646410"><strong id="waf_02_0016__b16189237395">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.348265173482652%" id="mcps1.3.2.2.2.1.2.5.1.3"><p id="waf_02_0016__p50202190"><strong id="waf_02_0016__b1269720245393">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="39.796020397960206%" id="mcps1.3.2.2.2.1.2.5.1.4"><p id="waf_02_0016__p39845619"><strong id="waf_02_0016__b1847822510391">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0016__row6269729"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0016__p38086015">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="waf_02_0016__p65068341">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="waf_02_0016__p36044268">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="waf_02_0016__p33904587">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0016__row36705834"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0016__p20382553">instance_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="waf_02_0016__p40374085">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="waf_02_0016__p49075413">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="waf_02_0016__p15685489">Specifies the instance ID or domain ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0016__row6951680"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0016__p26215194">keepPolicy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="waf_02_0016__p43055989">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.348265173482652%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="waf_02_0016__p64983097">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.796020397960206%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="waf_02_0016__p672111566452">Specifies whether to retain the policy when deleting a domain name.</p>
|
|
<ul id="waf_02_0016__ul1933512313463"><li id="waf_02_0016__li193352315466"><strong id="waf_02_0016__b17569128921">true</strong>: The policy is retained.</li><li id="waf_02_0016__li9335103144611"><strong id="waf_02_0016__b17744181816213">false</strong>: The policy is deleted.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="waf_02_0016__section66893020"><h4 class="sectiontitle">Request</h4><p id="waf_02_0016__p13461104823210">Request parameters</p>
|
|
<p class="msonormal" id="waf_02_0016__p11486745">None</p>
|
|
</div>
|
|
<div class="section" id="waf_02_0016__section65166273"><h4 class="sectiontitle">Response</h4><p id="waf_02_0016__p18193165816325">Response parameters</p>
|
|
<p id="waf_02_0016__p989044918223">None</p>
|
|
</div>
|
|
<div class="section" id="waf_02_0016__section49625546"><h4 class="sectiontitle">Status Code</h4><div class="p" id="waf_02_0016__waf_02_0012_a652d4922b7df48fca0a65bc1a38ea5f2"><a href="#waf_02_0016__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0">Table 2</a> describes the normal status code returned by the API.
|
|
<div class="tablenoborder"><a name="waf_02_0016__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><a name="waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0016__waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Status code</caption><thead align="left"><tr id="waf_02_0016__waf_02_0012_r3d6e2f205c444705bdbb9daaac74e575"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.5.2.2.2.4.1.1"><p id="waf_02_0016__waf_02_0012_af3c4073076f24eca88d94e3fa1effdc6">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.41%" id="mcps1.3.5.2.2.2.4.1.2"><p id="waf_02_0016__waf_02_0012_en-us_topic_0144911667_p4531342288">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.589999999999996%" id="mcps1.3.5.2.2.2.4.1.3"><p id="waf_02_0016__waf_02_0012_ada185614bba24140995b8123b3e9faa8">Meaning</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0016__waf_02_0012_rc7b2adc390904a1ba79e303017797786"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.5.2.2.2.4.1.1 "><p id="waf_02_0016__waf_02_0012_a93f3895d44bb4226934cc626ac50e37b">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.41%" headers="mcps1.3.5.2.2.2.4.1.2 "><p id="waf_02_0016__waf_02_0012_en-us_topic_0144911667_p7538425819">No Content</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.589999999999996%" headers="mcps1.3.5.2.2.2.4.1.3 "><p id="waf_02_0016__waf_02_0012_en-us_topic_0144911667_p369874114414">The server successfully processed the request and is not returning any content.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<p id="waf_02_0016__waf_02_0012_en-us_topic_0144911667_p482819399522">For details about error status codes, see <a href="waf_02_0085.html">Status Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="waf_02_0011.html">Domain Names</a></div>
|
|
</div>
|
|
</div>
|
|
|