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>
559 lines
45 KiB
HTML
559 lines
45 KiB
HTML
<a name="DeleteCcRule"></a><a name="DeleteCcRule"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a CC Attack Protection Rule</h1>
|
|
<div id="body1708331107508"><div class="section" id="DeleteCcRule__topic1271000000"><h4 class="sectiontitle">Function</h4><p id="DeleteCcRule__topic1271000002">This API is used to delete a CC attack protection rule.</p>
|
|
</div>
|
|
<div class="section" id="DeleteCcRule__section10521352122619"><h4 class="sectiontitle">URI</h4><p id="DeleteCcRule__topic1271000004">DELETE /v1/{project_id}/waf/policy/{policy_id}/cc/{rule_id}</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__topic1271000005" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="DeleteCcRule__topic1271000013"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="DeleteCcRule__topic1271000015">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="DeleteCcRule__topic1271000017">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="DeleteCcRule__topic1271000019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="DeleteCcRule__topic1271000021">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000023"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DeleteCcRule__topic1271000025">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DeleteCcRule__topic1271000027">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DeleteCcRule__topic1271000029">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DeleteCcRule__topic1271000031">project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000032"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DeleteCcRule__topic1271000034">policy_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DeleteCcRule__topic1271000036">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DeleteCcRule__topic1271000038">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DeleteCcRule__topic1271000040">Policy ID. It can be obtained by calling the <strong id="DeleteCcRule__topic1271000041">ListPolicy</strong> API.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000042"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="DeleteCcRule__topic1271000044">rule_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="DeleteCcRule__topic1271000046">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="DeleteCcRule__topic1271000048">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="DeleteCcRule__topic1271000050">ID of the cc rule. It can be obtained by calling the <strong id="DeleteCcRule__topic1271000051">ListCcRules</strong> API.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteCcRule__topic1271000052"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="DeleteCcRule__topic1271000061"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="DeleteCcRule__topic1271000063">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="DeleteCcRule__topic1271000065">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="DeleteCcRule__topic1271000067">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="DeleteCcRule__topic1271000069">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000071"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DeleteCcRule__topic1271000073">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DeleteCcRule__topic1271000075">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DeleteCcRule__topic1271000077">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DeleteCcRule__topic1271000079">User token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000080"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="DeleteCcRule__topic1271000082">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="DeleteCcRule__topic1271000084">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="DeleteCcRule__topic1271000086">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="DeleteCcRule__topic1271000088">Content type.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteCcRule__topic1271000089"><h4 class="sectiontitle">Response Parameters</h4><p id="DeleteCcRule__topic1271000091"><strong id="DeleteCcRule__topic1271000092">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__response_DeleteCcRuleResponseBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="DeleteCcRule__topic1271000099"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="DeleteCcRule__topic1271000101">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="DeleteCcRule__topic1271000103">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="DeleteCcRule__topic1271000105">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000107"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000109">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000113">Rule ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000114"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000116">policyid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000120">Policy ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000121"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000123">url</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000125">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000127">When the value of parameter mode is 0, this parameter has a return value. URL to which the rule applies, excluding a domain name.</p>
|
|
<ul id="DeleteCcRule__topic1271000128"><li id="DeleteCcRule__topic1271000129"><p id="DeleteCcRule__topic1271000130"><a name="DeleteCcRule__topic1271000129"></a><a name="topic1271000129"></a>Prefix match: A path ending with * indicates that the path is used as a prefix. For example, to protect /admin/test.php or /adminabc, you can set Path to /admin*.</p>
|
|
</li><li id="DeleteCcRule__topic1271000131"><p id="DeleteCcRule__topic1271000132"><a name="DeleteCcRule__topic1271000131"></a><a name="topic1271000131"></a>Exact match: The path you enter must exactly match the path you want to protect. If the path you want to protect is /admin, set url to /admin.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000133"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000135">prefix</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000137">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000139">Whether a prefix is used for the path. If the protected URL ends with an asterisk (*), a path prefix is used.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000140"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000142">mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000144">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000146">Mode.</p>
|
|
<ul id="DeleteCcRule__topic1271000147"><li id="DeleteCcRule__topic1271000148"><p id="DeleteCcRule__topic1271000149"><a name="DeleteCcRule__topic1271000148"></a><a name="topic1271000148"></a><strong id="DeleteCcRule__topic1271000150">0</strong>: Standard.</p>
|
|
</li><li id="DeleteCcRule__topic1271000151"><p id="DeleteCcRule__topic1271000152"><a name="DeleteCcRule__topic1271000151"></a><a name="topic1271000151"></a><strong id="DeleteCcRule__topic1271000153">1</strong>: Advanced.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000154"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000156">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000158">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000160">Rule status. The value can be <strong id="DeleteCcRule__topic1271000161">0</strong> or <strong id="DeleteCcRule__topic1271000162">1</strong>.</p>
|
|
<ul id="DeleteCcRule__topic1271000163"><li id="DeleteCcRule__topic1271000164"><p id="DeleteCcRule__topic1271000165"><a name="DeleteCcRule__topic1271000164"></a><a name="topic1271000164"></a><strong id="DeleteCcRule__topic1271000166">0</strong>: The rule is disabled.</p>
|
|
</li><li id="DeleteCcRule__topic1271000167"><p id="DeleteCcRule__topic1271000168"><a name="DeleteCcRule__topic1271000167"></a><a name="topic1271000167"></a><strong id="DeleteCcRule__topic1271000169">1</strong>: The rule is enabled.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000170"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000172">conditions</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000174">Array of <a href="#DeleteCcRule__response_CcCondition">CcCondition</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000177">Rate limit conditions of the CC attack protection rule. This parameter is mandatory when the CC attack protection rule is in advanced mode (i.e. the value of <strong id="DeleteCcRule__topic1271000178">mode</strong> is <strong id="DeleteCcRule__topic1271000179">1</strong>).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000180"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000182">action</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000184"><a href="#DeleteCcRule__response_action">action</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000187">Protection action to take if the number of requests reaches the upper limit.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000188"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000190">tag_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000192">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000194">Rate limit mode.</p>
|
|
<ul id="DeleteCcRule__topic1271000195"><li id="DeleteCcRule__topic1271000196"><p id="DeleteCcRule__topic1271000197"><a name="DeleteCcRule__topic1271000196"></a><a name="topic1271000196"></a><strong id="DeleteCcRule__topic1271000198">ip</strong>: IP-based rate limiting. Website visitors are identified by IP address.</p>
|
|
</li><li id="DeleteCcRule__topic1271000199"><p id="DeleteCcRule__topic1271000200"><a name="DeleteCcRule__topic1271000199"></a><a name="topic1271000199"></a><strong id="DeleteCcRule__topic1271000201">cookie</strong>: User-based rate limiting. Website visitors are identified by the cookie key value.</p>
|
|
</li><li id="DeleteCcRule__topic1271000202"><p id="DeleteCcRule__topic1271000203"><a name="DeleteCcRule__topic1271000202"></a><a name="topic1271000202"></a><strong id="DeleteCcRule__topic1271000204">other</strong>: Website visitors are identified by the <strong id="DeleteCcRule__topic1271000205">Referer</strong> field (user-defined request source).</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000206"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000208">tag_index</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000212">User identifier. This parameter is mandatory when the rate limit mode is set to <strong id="DeleteCcRule__topic1271000213">user</strong> (cookie or header).</p>
|
|
<ul id="DeleteCcRule__topic1271000214"><li id="DeleteCcRule__topic1271000215"><p id="DeleteCcRule__topic1271000216"><a name="DeleteCcRule__topic1271000215"></a><a name="topic1271000215"></a><strong id="DeleteCcRule__topic1271000217">cookie</strong>: Set the cookie field name. You need to configure an attribute variable name in the cookie that can uniquely identify a web visitor based on your website requirements. This field does not support regular expressions. Only complete matches are supported. For example, if a website uses the name field in the cookie to uniquely identify a website visitor, select name.</p>
|
|
</li><li id="DeleteCcRule__topic1271000218"><p id="DeleteCcRule__topic1271000219"><a name="DeleteCcRule__topic1271000218"></a><a name="topic1271000218"></a><strong id="DeleteCcRule__topic1271000220">header</strong>: Set the user-defined HTTP header you want to protect. You need to configure the HTTP header that can identify web visitors based on your website requirements.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000221"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000223">tag_condition</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000225"><a href="#DeleteCcRule__response_tag_condition">tag_condition</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000228">User tag. This parameter is mandatory when the rate limit mode is set to <strong id="DeleteCcRule__topic1271000229">other</strong>. - <strong id="DeleteCcRule__topic1271000230">other</strong>: A website visitor is identified by the Referer field (user-defined request source).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000231"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000233">limit_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000235">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000237">Rate limit frequency based on the number of requests. The value ranges from 1 to 2,147,483,647.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000238"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000240">limit_period</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000242">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000244">Rate limit period, in seconds. The value ranges from 1 to 3,600.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000245"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000247">unlock_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000249">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000251">Allowable frequency based on the number of requests. The value ranges from 0 to 2,147,483,647. This parameter is required only when the protection action type is <strong id="DeleteCcRule__topic1271000252">dynamic_block</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000253"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000255">lock_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000257">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000259">Block duration, in seconds. The value ranges from 0 to 65,535. Specifies the period within which access is blocked. An error page is displayed in this period.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000260"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000262">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000264">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000266">Rule description</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000267"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000269">total_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000271">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000273">This parameter is reserved and can be ignored currently.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000274"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000276">unaggregation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000278">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000280">This parameter is reserved and can be ignored currently.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000281"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000283">aging_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000285">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000287">Rule aging time. This parameter is reserved and can be ignored currently.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000288"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000290">producer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000292">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000294">Rule creation object. This parameter is reserved and can be ignored currently.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000295"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="DeleteCcRule__topic1271000297">timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="DeleteCcRule__topic1271000299">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="DeleteCcRule__topic1271000301">Time the rule waf created.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="DeleteCcRule__response_CcCondition"></a><a name="response_CcCondition"></a><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__response_CcCondition" frame="border" border="1" rules="all"><caption><b>Table 4 </b>CcCondition</caption><thead align="left"><tr id="DeleteCcRule__topic1271000308"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="DeleteCcRule__topic1271000310">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="DeleteCcRule__topic1271000312">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="DeleteCcRule__topic1271000314">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000316"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="DeleteCcRule__topic1271000318">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="DeleteCcRule__topic1271000320">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="DeleteCcRule__topic1271000322">Field type. The value can be <strong id="DeleteCcRule__topic1271000323">url</strong>, <strong id="DeleteCcRule__topic1271000324">ip</strong>, <strong id="DeleteCcRule__topic1271000325">params</strong>, <strong id="DeleteCcRule__topic1271000326">cookie</strong>, or <strong id="DeleteCcRule__topic1271000327">header</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000328"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="DeleteCcRule__topic1271000330">logic_operation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="DeleteCcRule__topic1271000332">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="DeleteCcRule__topic1271000334">Logic for matching the condition.</p>
|
|
<ul id="DeleteCcRule__topic1271000335"><li id="DeleteCcRule__topic1271000336"><p id="DeleteCcRule__topic1271000337"><a name="DeleteCcRule__topic1271000336"></a><a name="topic1271000336"></a>If the category is <strong id="DeleteCcRule__topic1271000338">url</strong>, the optional operations are contain, not_contain, equal, not_equal, prefix, not_prefix, suffix, not_suffix, contain_any, not_contain_all, equal_any, not_equal_all, equal_any, not_equal_all, prefix_any, not_prefix_all, suffix_any, not_suffix_all, len_greater, len_less, len_equal and len_not_equal</p>
|
|
</li><li id="DeleteCcRule__topic1271000339"><p id="DeleteCcRule__topic1271000340"><a name="DeleteCcRule__topic1271000339"></a><a name="topic1271000339"></a>If the category is <strong id="DeleteCcRule__topic1271000341">ip</strong>, the optional operations are: equal, not_equal, equal_any and not_equal_all</p>
|
|
</li><li id="DeleteCcRule__topic1271000342"><p id="DeleteCcRule__topic1271000343"><a name="DeleteCcRule__topic1271000342"></a><a name="topic1271000342"></a>If the category is <strong id="DeleteCcRule__topic1271000344">params</strong>, <strong id="DeleteCcRule__topic1271000345">cookie</strong> and <strong id="DeleteCcRule__topic1271000346">header</strong>, the optional operations are: contain, not_contain, equal, not_equal, prefix, not_prefix, suffix, not_suffix, contain_any, not_contain_all, equal_any, not_equal_all, equal_any, not_equal_all, prefix_any, not_prefix_all, suffix_any, not_suffix_all, len_greater, len_less, len_equal, len_not_equal, num_greater, num_less, num_equal, num_not_equal, exist and not_exist</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000347"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="DeleteCcRule__topic1271000349">contents</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="DeleteCcRule__topic1271000351">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="DeleteCcRule__topic1271000353">Content of the conditions. This parameter is mandatory when the suffix of <strong id="DeleteCcRule__topic1271000354">logic_operation</strong> is not any or all.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000355"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="DeleteCcRule__topic1271000357">value_list_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="DeleteCcRule__topic1271000359">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="DeleteCcRule__topic1271000361">Reference table ID. It can be obtained by calling the API Querying the Reference Table List. This parameter is mandatory when the suffix of <strong id="DeleteCcRule__topic1271000362">logic_operation</strong> is any or all. The reference table type must be the same as the category type.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000363"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="DeleteCcRule__topic1271000365">index</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="DeleteCcRule__topic1271000367">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="DeleteCcRule__topic1271000369">Subfield. When <strong id="DeleteCcRule__topic1271000370">category</strong> is set to params, cookie, or header, set this parameter based on site requirements. This parameter is mandatory.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="DeleteCcRule__response_action"></a><a name="response_action"></a><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__response_action" frame="border" border="1" rules="all"><caption><b>Table 5 </b>action</caption><thead align="left"><tr id="DeleteCcRule__topic1271000377"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="DeleteCcRule__topic1271000379">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="DeleteCcRule__topic1271000381">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="DeleteCcRule__topic1271000383">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000385"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="DeleteCcRule__topic1271000387">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="DeleteCcRule__topic1271000389">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="DeleteCcRule__topic1271000391">Action type:</p>
|
|
<ul id="DeleteCcRule__topic1271000392"><li id="DeleteCcRule__topic1271000393"><p id="DeleteCcRule__topic1271000394"><a name="DeleteCcRule__topic1271000393"></a><a name="topic1271000393"></a><strong id="DeleteCcRule__topic1271000395">captcha</strong>: Verification code. WAF requires visitors to enter a correct verification code to continue their access to requested page on your website.</p>
|
|
</li><li id="DeleteCcRule__topic1271000396"><p id="DeleteCcRule__topic1271000397"><a name="DeleteCcRule__topic1271000396"></a><a name="topic1271000396"></a><strong id="DeleteCcRule__topic1271000398">block</strong>: WAF blocks the requests. When <strong id="DeleteCcRule__topic1271000399">tag_type</strong> is set to <strong id="DeleteCcRule__topic1271000400">other</strong>, the value can only be <strong id="DeleteCcRule__topic1271000401">block</strong>.</p>
|
|
</li><li id="DeleteCcRule__topic1271000402"><p id="DeleteCcRule__topic1271000403"><a name="DeleteCcRule__topic1271000402"></a><a name="topic1271000402"></a><strong id="DeleteCcRule__topic1271000404">log</strong>: WAF logs the event only.</p>
|
|
</li><li id="DeleteCcRule__topic1271000405"><p id="DeleteCcRule__topic1271000406"><a name="DeleteCcRule__topic1271000405"></a><a name="topic1271000405"></a><strong id="DeleteCcRule__topic1271000407">dynamic_block</strong>: In the previous rate limit period, if the request frequency exceeds the value of Rate Limit Frequency, the request is blocked. In the next rate limit period, if the request frequency exceeds the value of Permit Frequency, the request is still blocked. Note: The <strong id="DeleteCcRule__topic1271000408">dynamic_block</strong> protection action can be set only when the advanced protection mode is enabled for the CC protection rule.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000409"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="DeleteCcRule__topic1271000411">detail</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="DeleteCcRule__topic1271000413"><a href="#DeleteCcRule__response_detail">detail</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="DeleteCcRule__topic1271000416">Block page information. When protection action <strong id="DeleteCcRule__topic1271000417">category</strong> is set to <strong id="DeleteCcRule__topic1271000418">block</strong> or <strong id="DeleteCcRule__topic1271000419">dynamic_block</strong>, you need to set the returned block page.</p>
|
|
<ul id="DeleteCcRule__topic1271000420"><li id="DeleteCcRule__topic1271000421"><p id="DeleteCcRule__topic1271000422"><a name="DeleteCcRule__topic1271000421"></a><a name="topic1271000421"></a>If you want to use the default block page, this parameter can be excluded.</p>
|
|
</li><li id="DeleteCcRule__topic1271000423"><p id="DeleteCcRule__topic1271000424"><a name="DeleteCcRule__topic1271000423"></a><a name="topic1271000423"></a>If you want to use a custom block page, set this parameter.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="DeleteCcRule__response_detail"></a><a name="response_detail"></a><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__response_detail" frame="border" border="1" rules="all"><caption><b>Table 6 </b>detail</caption><thead align="left"><tr id="DeleteCcRule__topic1271000431"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="DeleteCcRule__topic1271000433">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="DeleteCcRule__topic1271000435">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="DeleteCcRule__topic1271000437">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000439"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="DeleteCcRule__topic1271000441">response</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="DeleteCcRule__topic1271000443"><a href="#DeleteCcRule__response_response">response</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="DeleteCcRule__topic1271000446">Block Page</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="DeleteCcRule__response_response"></a><a name="response_response"></a><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__response_response" frame="border" border="1" rules="all"><caption><b>Table 7 </b>response</caption><thead align="left"><tr id="DeleteCcRule__topic1271000453"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="DeleteCcRule__topic1271000455">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="DeleteCcRule__topic1271000457">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="DeleteCcRule__topic1271000459">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000461"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="DeleteCcRule__topic1271000463">content_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="DeleteCcRule__topic1271000465">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="DeleteCcRule__topic1271000467">Content type. The value can only be <strong id="DeleteCcRule__topic1271000468">application/json</strong>, <strong id="DeleteCcRule__topic1271000469">text/html</strong>, or <strong id="DeleteCcRule__topic1271000470">text/xml</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000471"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="DeleteCcRule__topic1271000473">content</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="DeleteCcRule__topic1271000475">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="DeleteCcRule__topic1271000477">Block page information.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="DeleteCcRule__response_tag_condition"></a><a name="response_tag_condition"></a><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__response_tag_condition" frame="border" border="1" rules="all"><caption><b>Table 8 </b>tag_condition</caption><thead align="left"><tr id="DeleteCcRule__topic1271000484"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.1"><p id="DeleteCcRule__topic1271000486">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.2"><p id="DeleteCcRule__topic1271000488">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.8.2.4.1.3"><p id="DeleteCcRule__topic1271000490">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000492"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="DeleteCcRule__topic1271000494">category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="DeleteCcRule__topic1271000496">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="DeleteCcRule__topic1271000498">User identifier. The value is fixed at <strong id="DeleteCcRule__topic1271000499">referer</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000500"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="DeleteCcRule__topic1271000502">contents</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="DeleteCcRule__topic1271000504">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="DeleteCcRule__topic1271000506">Content of the user identifier field.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="DeleteCcRule__topic1271000507"><strong id="DeleteCcRule__topic1271000508">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__response_RestErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="DeleteCcRule__topic1271000515"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.1"><p id="DeleteCcRule__topic1271000517">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.2"><p id="DeleteCcRule__topic1271000519">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.10.2.4.1.3"><p id="DeleteCcRule__topic1271000521">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000523"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="DeleteCcRule__topic1271000525">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="DeleteCcRule__topic1271000527">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="DeleteCcRule__topic1271000529">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000530"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="DeleteCcRule__topic1271000532">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="DeleteCcRule__topic1271000534">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="DeleteCcRule__topic1271000536">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="DeleteCcRule__topic1271000537"><strong id="DeleteCcRule__topic1271000538">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__table66935282620" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="DeleteCcRule__topic1271000545"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.1"><p id="DeleteCcRule__topic1271000547">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.12.2.4.1.2"><p id="DeleteCcRule__topic1271000549">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.12.2.4.1.3"><p id="DeleteCcRule__topic1271000551">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000553"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="DeleteCcRule__topic1271000555">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="DeleteCcRule__topic1271000557">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="DeleteCcRule__topic1271000559">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000560"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.1 "><p id="DeleteCcRule__topic1271000562">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.12.2.4.1.2 "><p id="DeleteCcRule__topic1271000564">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.12.2.4.1.3 "><p id="DeleteCcRule__topic1271000566">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="DeleteCcRule__topic1271000567"><strong id="DeleteCcRule__topic1271000568">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__table147017529263" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="DeleteCcRule__topic1271000575"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.14.2.4.1.1"><p id="DeleteCcRule__topic1271000577">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.14.2.4.1.2"><p id="DeleteCcRule__topic1271000579">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.14.2.4.1.3"><p id="DeleteCcRule__topic1271000581">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000583"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.1 "><p id="DeleteCcRule__topic1271000585">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.2 "><p id="DeleteCcRule__topic1271000587">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.14.2.4.1.3 "><p id="DeleteCcRule__topic1271000589">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000590"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.1 "><p id="DeleteCcRule__topic1271000592">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.14.2.4.1.2 "><p id="DeleteCcRule__topic1271000594">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.14.2.4.1.3 "><p id="DeleteCcRule__topic1271000596">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteCcRule__topic1271000597"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="DeleteCcRule__topic1271000599">DELETE https://{Endpoint}/v1/{project_id}/waf/policy/{policy_id}/cc/{rule_id}?</pre>
|
|
</div>
|
|
<div class="section" id="DeleteCcRule__topic1271000600"><h4 class="sectiontitle">Example Responses</h4><p id="DeleteCcRule__topic1271000602"><strong id="DeleteCcRule__topic1271000603">Status code: 200</strong></p>
|
|
<p id="DeleteCcRule__topic1271000604">Request succeeded.</p>
|
|
<pre class="screen" id="DeleteCcRule__topic1271000605">{
|
|
"description" : "",
|
|
"id" : "a5f3fd28db564696b199228f0ac346b2",
|
|
"limit_num" : 10,
|
|
"limit_period" : 60,
|
|
"lock_time" : 0,
|
|
"mode" : 0,
|
|
"policyid" : "1f016cde588646aca3fb19f277c44d03",
|
|
"prefix" : false,
|
|
"status" : 1,
|
|
"tag_type" : "ip",
|
|
"timestamp" : 1656494435686,
|
|
"total_num" : 0,
|
|
"aging_time" : 0,
|
|
"unaggregation" : false,
|
|
"producer" : 1,
|
|
"url" : "/path1"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="DeleteCcRule__topic1271000606"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeleteCcRule__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="DeleteCcRule__topic1271000612"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="DeleteCcRule__topic1271000614">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="DeleteCcRule__topic1271000616">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="DeleteCcRule__topic1271000618"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteCcRule__topic1271000620">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteCcRule__topic1271000622">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000623"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteCcRule__topic1271000625">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteCcRule__topic1271000627">Request failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000628"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteCcRule__topic1271000630">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteCcRule__topic1271000632">The token does not have required permissions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="DeleteCcRule__topic1271000633"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="DeleteCcRule__topic1271000635">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="DeleteCcRule__topic1271000637">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="DeleteCcRule__topic1271000638"><h4 class="sectiontitle">Error Codes</h4><p id="DeleteCcRule__topic1271000640">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>
|
|
|