forked from docs/doc-exports
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: qinweiwei <qinweiwei@huawei.com> Co-committed-by: qinweiwei <qinweiwei@huawei.com>
327 lines
25 KiB
HTML
327 lines
25 KiB
HTML
<a name="DeleteGeoipRule"></a><a name="DeleteGeoipRule"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Geolocation Access Control Rule</h1>
|
|
<div id="body1708331107508"><div class="section" id="DeleteGeoipRule__topic1671000000"><h4 class="sectiontitle">Function</h4><p id="DeleteGeoipRule__topic1671000002">This API is used to delete a geolocation access control rule.</p>
|
|
</div>
|
|
<div class="section" id="DeleteGeoipRule__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="DeleteGeoipRule__topic1671000004">DELETE /v1/{project_id}/waf/policy/{policy_id}/geoip/{rule_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteGeoipRule__topic1671000005" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="DeleteGeoipRule__topic1671000013"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="DeleteGeoipRule__topic1671000015">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="DeleteGeoipRule__topic1671000017">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="DeleteGeoipRule__topic1671000019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="DeleteGeoipRule__topic1671000021">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteGeoipRule__topic1671000023"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DeleteGeoipRule__topic1671000025">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DeleteGeoipRule__topic1671000027">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DeleteGeoipRule__topic1671000029">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DeleteGeoipRule__topic1671000031">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000032"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DeleteGeoipRule__topic1671000034">policy_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DeleteGeoipRule__topic1671000036">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DeleteGeoipRule__topic1671000038">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DeleteGeoipRule__topic1671000040">Policy ID. It can be obtained by calling the <strong id="DeleteGeoipRule__topic1671000041">ListPolicy</strong> API.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000042"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DeleteGeoipRule__topic1671000044">rule_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DeleteGeoipRule__topic1671000046">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DeleteGeoipRule__topic1671000048">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DeleteGeoipRule__topic1671000050">ID of the geolocation access control rule. It can be obtained by calling the <strong id="DeleteGeoipRule__topic1671000051">ListGeoipRules</strong> API.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteGeoipRule__topic1671000052"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteGeoipRule__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="DeleteGeoipRule__topic1671000061"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="DeleteGeoipRule__topic1671000063">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="DeleteGeoipRule__topic1671000065">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="DeleteGeoipRule__topic1671000067">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="DeleteGeoipRule__topic1671000069">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteGeoipRule__topic1671000071"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DeleteGeoipRule__topic1671000073">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DeleteGeoipRule__topic1671000075">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DeleteGeoipRule__topic1671000077">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DeleteGeoipRule__topic1671000079">User token</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000080"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DeleteGeoipRule__topic1671000082">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DeleteGeoipRule__topic1671000084">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DeleteGeoipRule__topic1671000086">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DeleteGeoipRule__topic1671000088">Content type</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteGeoipRule__topic1671000089"><h4 class="sectiontitle">Response Parameters</h4><p id="DeleteGeoipRule__topic1671000091"><strong id="DeleteGeoipRule__topic1671000092">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteGeoipRule__response_DeleteGeoIpRuleResponseBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="DeleteGeoipRule__topic1671000099"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="DeleteGeoipRule__topic1671000101">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="DeleteGeoipRule__topic1671000103">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="DeleteGeoipRule__topic1671000105">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteGeoipRule__topic1671000107"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000109">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000113">Rule ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000114"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000116">policyid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000120">Policy ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000121"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000123">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000125">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000127">Rule name. Currently, the console does not support configuring names for geolocation access control rule. Ignore this parameter.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000128"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000130">geoTagList</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000132">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000134">List of geographical locations hit the geolocation access control rule.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000135"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000137">geoip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000139">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000141">Applicable regions. The value can be the region code.</p>
|
|
<ul id="DeleteGeoipRule__topic1671000142"><li id="DeleteGeoipRule__topic1671000143"><p id="DeleteGeoipRule__topic1671000144"><a name="DeleteGeoipRule__topic1671000143"></a><a name="topic1671000143"></a>CA: Canada</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000145"><p id="DeleteGeoipRule__topic1671000146"><a name="DeleteGeoipRule__topic1671000145"></a><a name="topic1671000145"></a>US: USA</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000147"><p id="DeleteGeoipRule__topic1671000148"><a name="DeleteGeoipRule__topic1671000147"></a><a name="topic1671000147"></a>AU: Australia</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000149"><p id="DeleteGeoipRule__topic1671000150"><a name="DeleteGeoipRule__topic1671000149"></a><a name="topic1671000149"></a>IN: India</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000151"><p id="DeleteGeoipRule__topic1671000152"><a name="DeleteGeoipRule__topic1671000151"></a><a name="topic1671000151"></a>JP: Japan</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000153"><p id="DeleteGeoipRule__topic1671000154"><a name="DeleteGeoipRule__topic1671000153"></a><a name="topic1671000153"></a>UK: United Kingdom</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000155"><p id="DeleteGeoipRule__topic1671000156"><a name="DeleteGeoipRule__topic1671000155"></a><a name="topic1671000155"></a>FR: France</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000157"><p id="DeleteGeoipRule__topic1671000158"><a name="DeleteGeoipRule__topic1671000157"></a><a name="topic1671000157"></a>DE: Germany</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000159"><p id="DeleteGeoipRule__topic1671000160"><a name="DeleteGeoipRule__topic1671000159"></a><a name="topic1671000159"></a>BR: Brazil</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000161"><p id="DeleteGeoipRule__topic1671000162"><a name="DeleteGeoipRule__topic1671000161"></a><a name="topic1671000161"></a>Ukraine: Ukraine</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000163"><p id="DeleteGeoipRule__topic1671000164"><a name="DeleteGeoipRule__topic1671000163"></a><a name="topic1671000163"></a>Pakistan: Pakistan</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000165"><p id="DeleteGeoipRule__topic1671000166"><a name="DeleteGeoipRule__topic1671000165"></a><a name="topic1671000165"></a>Palestine: Palestine</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000167"><p id="DeleteGeoipRule__topic1671000168"><a name="DeleteGeoipRule__topic1671000167"></a><a name="topic1671000167"></a>Israel: Israel</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000169"><p id="DeleteGeoipRule__topic1671000170"><a name="DeleteGeoipRule__topic1671000169"></a><a name="topic1671000169"></a>Iraq: Iraq</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000171"><p id="DeleteGeoipRule__topic1671000172"><a name="DeleteGeoipRule__topic1671000171"></a><a name="topic1671000171"></a>Afghanistan: Afghanistan</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000173"><p id="DeleteGeoipRule__topic1671000174"><a name="DeleteGeoipRule__topic1671000173"></a><a name="topic1671000173"></a>Libya: Libya</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000175"><p id="DeleteGeoipRule__topic1671000176"><a name="DeleteGeoipRule__topic1671000175"></a><a name="topic1671000175"></a>Turkey: Turkey</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000177"><p id="DeleteGeoipRule__topic1671000178"><a name="DeleteGeoipRule__topic1671000177"></a><a name="topic1671000177"></a>Thailand: Thailand</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000179"><p id="DeleteGeoipRule__topic1671000180"><a name="DeleteGeoipRule__topic1671000179"></a><a name="topic1671000179"></a>Singapore: Singapore</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000181"><p id="DeleteGeoipRule__topic1671000182"><a name="DeleteGeoipRule__topic1671000181"></a><a name="topic1671000181"></a>South Africa: South Africa</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000183"><p id="DeleteGeoipRule__topic1671000184"><a name="DeleteGeoipRule__topic1671000183"></a><a name="topic1671000183"></a>Mexico: Mexico</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000185"><p id="DeleteGeoipRule__topic1671000186"><a name="DeleteGeoipRule__topic1671000185"></a><a name="topic1671000185"></a>Peru: Peru</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000187"><p id="DeleteGeoipRule__topic1671000188"><a name="DeleteGeoipRule__topic1671000187"></a><a name="topic1671000187"></a>For more geographical location codes, see "Appendix - Geographic Location Codes."</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000189"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000191">white</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000193">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000195">Protective action. The value can be:</p>
|
|
<ul id="DeleteGeoipRule__topic1671000196"><li id="DeleteGeoipRule__topic1671000197"><p id="DeleteGeoipRule__topic1671000198"><a name="DeleteGeoipRule__topic1671000197"></a><a name="topic1671000197"></a>0: WAF blocks the requests that hit the rule.</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000199"><p id="DeleteGeoipRule__topic1671000200"><a name="DeleteGeoipRule__topic1671000199"></a><a name="topic1671000199"></a>1: WAF allows the requests that hit the rule.</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000201"><p id="DeleteGeoipRule__topic1671000202"><a name="DeleteGeoipRule__topic1671000201"></a><a name="topic1671000201"></a>2: WAF only logs the requests that hit the rule.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000203"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000205">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000207">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000209">Rule status. The value can be:</p>
|
|
<ul id="DeleteGeoipRule__topic1671000210"><li id="DeleteGeoipRule__topic1671000211"><p id="DeleteGeoipRule__topic1671000212"><a name="DeleteGeoipRule__topic1671000211"></a><a name="topic1671000211"></a>0: The rule is disabled.</p>
|
|
</li><li id="DeleteGeoipRule__topic1671000213"><p id="DeleteGeoipRule__topic1671000214"><a name="DeleteGeoipRule__topic1671000213"></a><a name="topic1671000213"></a>1: The rule is enabled.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000215"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000217">timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000219">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000221">Time the rule is created. The value is a 13-digit timestamp in ms.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000222"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000224">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000226">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000228">Rule description</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="DeleteGeoipRule__topic1671000229"><strong id="DeleteGeoipRule__topic1671000230">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteGeoipRule__response_RestErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="DeleteGeoipRule__topic1671000237"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="DeleteGeoipRule__topic1671000239">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="DeleteGeoipRule__topic1671000241">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="DeleteGeoipRule__topic1671000243">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteGeoipRule__topic1671000245"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000247">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000249">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000251">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000252"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000254">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000256">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000258">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="DeleteGeoipRule__topic1671000259"><strong id="DeleteGeoipRule__topic1671000260">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteGeoipRule__response_RestErrorResponse_1" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="DeleteGeoipRule__topic1671000267"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="DeleteGeoipRule__topic1671000269">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="DeleteGeoipRule__topic1671000271">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="DeleteGeoipRule__topic1671000273">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteGeoipRule__topic1671000275"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000277">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000279">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000281">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000282"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000284">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000286">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000288">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="DeleteGeoipRule__topic1671000289"><strong id="DeleteGeoipRule__topic1671000290">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteGeoipRule__response_RestErrorResponse_2" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="DeleteGeoipRule__topic1671000297"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="DeleteGeoipRule__topic1671000299">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="DeleteGeoipRule__topic1671000301">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="DeleteGeoipRule__topic1671000303">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteGeoipRule__topic1671000305"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000307">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000309">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000311">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000312"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="DeleteGeoipRule__topic1671000314">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="DeleteGeoipRule__topic1671000316">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="DeleteGeoipRule__topic1671000318">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteGeoipRule__topic1671000319"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="DeleteGeoipRule__topic1671000321">DELETE https://{Endpoint}/v1/{project_id}/waf/policy/{policy_id}/geoip/{rule_id}?</pre>
|
|
</div>
|
|
<div class="section" id="DeleteGeoipRule__topic1671000322"><h4 class="sectiontitle">Example Responses</h4><p id="DeleteGeoipRule__topic1671000324"><strong id="DeleteGeoipRule__topic1671000325">Status code: 200</strong></p>
|
|
<p id="DeleteGeoipRule__topic1671000326">Request succeeded.</p>
|
|
<pre class="screen" id="DeleteGeoipRule__topic1671000327">{
|
|
"id" : "02dafa406c4941368a1037b020f15a53",
|
|
"policyid" : "38ff0cb9a10e4d5293c642bc0350fa6d",
|
|
"name" : "demo",
|
|
"timestamp" : 1650534513775,
|
|
"description" : "demo",
|
|
"status" : 1,
|
|
"geoTagList" : [ "BR" ],
|
|
"geoip" : "BR",
|
|
"white" : 0
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="DeleteGeoipRule__topic1671000328"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteGeoipRule__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="DeleteGeoipRule__topic1671000334"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="DeleteGeoipRule__topic1671000336">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="DeleteGeoipRule__topic1671000338">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteGeoipRule__topic1671000340"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteGeoipRule__topic1671000342">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteGeoipRule__topic1671000344">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000345"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteGeoipRule__topic1671000347">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteGeoipRule__topic1671000349">Request failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000350"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteGeoipRule__topic1671000352">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteGeoipRule__topic1671000354">The token does not have required permissions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteGeoipRule__topic1671000355"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteGeoipRule__topic1671000357">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteGeoipRule__topic1671000359">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteGeoipRule__topic1671000360"><h4 class="sectiontitle">Error Codes</h4><p id="DeleteGeoipRule__topic1671000362">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000003.html">Rule Management</a></div>
|
|
</div>
|
|
</div>
|
|
|