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>
85 lines
6.7 KiB
HTML
85 lines
6.7 KiB
HTML
<a name="waf_02_0038"></a><a name="waf_02_0038"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Blacklist or Whitelist Rule</h1>
|
|
<div id="body41055937"><div class="section" id="waf_02_0038__section36984275"><h4 class="sectiontitle">Function Description</h4><p class="msonormal" id="waf_02_0038__p37196591">This API is used to delete a blacklist or whitelist rule.</p>
|
|
</div>
|
|
<div class="section" id="waf_02_0038__section64423025"><h4 class="sectiontitle">URI</h4><ul id="waf_02_0038__ul60133898"><li id="waf_02_0038__li4334171">URI format<p id="waf_02_0038__p39007545"><a name="waf_02_0038__li4334171"></a><a name="li4334171"></a>DELETE /v1/{project_id}/waf/policy/{policy_id}/whiteblackip/{whiteblackip_rule_id}</p>
|
|
</li><li id="waf_02_0038__li15523588">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0038__table5494565" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="waf_02_0038__row33168378"><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_0038__p2284117"><strong id="waf_02_0038__b11885852192316">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_0038__p50795801"><strong id="waf_02_0038__b873311762414">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_0038__p20819180"><strong id="waf_02_0038__b1093148192417">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_0038__p8632057"><strong id="waf_02_0038__b54081052410">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0038__row28108006"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0038__p62155995">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_0038__p1470849">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_0038__p52029951">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_0038__p53676542">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0038__row13326838"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0038__p5732056">policy_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_0038__p61643407">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_0038__p27060099">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_0038__p44384411">Specifies the policy ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="waf_02_0038__row63915384"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="waf_02_0038__p9763650">whiteblackip_rule_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_0038__p52658213">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_0038__p37456840">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_0038__p14105171">Specifies the ID of a blacklist or whitelist rule.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="waf_02_0038__section42936321"><h4 class="sectiontitle">Request</h4><p id="waf_02_0038__p19319215104520">Request</p>
|
|
<p class="msonormal" id="waf_02_0038__p1668207">None</p>
|
|
</div>
|
|
<div class="section" id="waf_02_0038__section50882570"><h4 class="sectiontitle">Response</h4><p id="waf_02_0038__p35624238452">Response parameters</p>
|
|
<p id="waf_02_0038__p248412511385">None</p>
|
|
</div>
|
|
<div class="section" id="waf_02_0038__section55289951"><h4 class="sectiontitle">Status Code</h4><div class="p" id="waf_02_0038__waf_02_0016_waf_02_0012_a652d4922b7df48fca0a65bc1a38ea5f2"><a href="#waf_02_0038__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_0038__waf_02_0016_waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><a name="waf_02_0016_waf_02_0012_t82c3440f3efb42a38b9d4dc4011a33d0"></a><table cellpadding="4" cellspacing="0" summary="" id="waf_02_0038__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_0038__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_0038__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_0038__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_0038__waf_02_0016_waf_02_0012_ada185614bba24140995b8123b3e9faa8">Meaning</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="waf_02_0038__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_0038__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_0038__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_0038__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_0038__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_0035.html">Blacklist and Whitelist Rules</a></div>
|
|
</div>
|
|
</div>
|
|
|