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>
283 lines
21 KiB
HTML
283 lines
21 KiB
HTML
<a name="UpdateAntiTamperRuleRefresh"></a><a name="UpdateAntiTamperRuleRefresh"></a>
|
|
|
|
<h1 class="topictitle1">Updating the Cache for a Web Tamper Protection Rule</h1>
|
|
<div id="body1708331107508"><div class="section" id="UpdateAntiTamperRuleRefresh__topic1521000000"><h4 class="sectiontitle">Function</h4><p id="UpdateAntiTamperRuleRefresh__topic1521000002">This API is used for updating the cache for a web tamper protection Rule.</p>
|
|
</div>
|
|
<div class="section" id="UpdateAntiTamperRuleRefresh__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="UpdateAntiTamperRuleRefresh__topic1521000004">POST /v1/{project_id}/waf/policy/{policy_id}/antitamper/{rule_id}/refresh</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAntiTamperRuleRefresh__topic1521000005" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateAntiTamperRuleRefresh__topic1521000013"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="UpdateAntiTamperRuleRefresh__topic1521000015">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="UpdateAntiTamperRuleRefresh__topic1521000017">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="UpdateAntiTamperRuleRefresh__topic1521000019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="UpdateAntiTamperRuleRefresh__topic1521000021">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAntiTamperRuleRefresh__topic1521000023"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000025">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000027">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000029">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateAntiTamperRuleRefresh__topic1521000031">Project ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000032"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000034">policy_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000036">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000038">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateAntiTamperRuleRefresh__topic1521000040">Policy ID. It can be obtained by calling the <strong id="UpdateAntiTamperRuleRefresh__topic1521000041">ListPolicy</strong> API.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000042"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000044">rule_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000046">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000048">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateAntiTamperRuleRefresh__topic1521000050">ID of the web tamper protection rule. It can be obtained by calling the <strong id="UpdateAntiTamperRuleRefresh__topic1521000051">ListAntitamperRules</strong> API.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAntiTamperRuleRefresh__topic1521000052"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAntiTamperRuleRefresh__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="UpdateAntiTamperRuleRefresh__topic1521000061"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="UpdateAntiTamperRuleRefresh__topic1521000063">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="UpdateAntiTamperRuleRefresh__topic1521000065">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="UpdateAntiTamperRuleRefresh__topic1521000067">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="UpdateAntiTamperRuleRefresh__topic1521000069">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAntiTamperRuleRefresh__topic1521000071"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000073">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000075">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000077">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateAntiTamperRuleRefresh__topic1521000079">User token</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000080"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000082">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000084">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000086">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateAntiTamperRuleRefresh__topic1521000088">Content type</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAntiTamperRuleRefresh__topic1521000089"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateAntiTamperRuleRefresh__topic1521000091"><strong id="UpdateAntiTamperRuleRefresh__topic1521000092">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAntiTamperRuleRefresh__response_UpdateAntiTamperRuleRefreshResponseBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="UpdateAntiTamperRuleRefresh__topic1521000099"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="UpdateAntiTamperRuleRefresh__topic1521000101">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="UpdateAntiTamperRuleRefresh__topic1521000103">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="UpdateAntiTamperRuleRefresh__topic1521000105">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAntiTamperRuleRefresh__topic1521000107"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000109">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000113">Rule ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000114"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000116">policyid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000120">Policy ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000121"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000123">timestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000125">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000127">Timestamp</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000128"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000130">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000132">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000134">Rule description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000135"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000137">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000139">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000141">Rule status. The value can be:</p>
|
|
<ul id="UpdateAntiTamperRuleRefresh__topic1521000142"><li id="UpdateAntiTamperRuleRefresh__topic1521000143"><p id="UpdateAntiTamperRuleRefresh__topic1521000144"><a name="UpdateAntiTamperRuleRefresh__topic1521000143"></a><a name="topic1521000143"></a>0: The rule is disabled.</p>
|
|
</li><li id="UpdateAntiTamperRuleRefresh__topic1521000145"><p id="UpdateAntiTamperRuleRefresh__topic1521000146"><a name="UpdateAntiTamperRuleRefresh__topic1521000145"></a><a name="topic1521000145"></a>1: The rule is enabled.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000147"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000149">hostname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000151">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000153">Websites name protected by the web tamper protection rule, such as www.example.com</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000154"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000156">url</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000158">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000160">URL for the web tamper protection rule.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="UpdateAntiTamperRuleRefresh__topic1521000161"><strong id="UpdateAntiTamperRuleRefresh__topic1521000162">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAntiTamperRuleRefresh__response_RestErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="UpdateAntiTamperRuleRefresh__topic1521000169"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="UpdateAntiTamperRuleRefresh__topic1521000171">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="UpdateAntiTamperRuleRefresh__topic1521000173">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="UpdateAntiTamperRuleRefresh__topic1521000175">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAntiTamperRuleRefresh__topic1521000177"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000179">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000181">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000183">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000184"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000186">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000188">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000190">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="UpdateAntiTamperRuleRefresh__topic1521000191"><strong id="UpdateAntiTamperRuleRefresh__topic1521000192">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAntiTamperRuleRefresh__response_RestErrorResponse_1" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="UpdateAntiTamperRuleRefresh__topic1521000199"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="UpdateAntiTamperRuleRefresh__topic1521000201">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="UpdateAntiTamperRuleRefresh__topic1521000203">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="UpdateAntiTamperRuleRefresh__topic1521000205">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAntiTamperRuleRefresh__topic1521000207"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000209">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000213">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000214"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000216">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000218">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000220">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="UpdateAntiTamperRuleRefresh__topic1521000221"><strong id="UpdateAntiTamperRuleRefresh__topic1521000222">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAntiTamperRuleRefresh__response_RestErrorResponse_2" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="UpdateAntiTamperRuleRefresh__topic1521000229"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="UpdateAntiTamperRuleRefresh__topic1521000231">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="UpdateAntiTamperRuleRefresh__topic1521000233">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="UpdateAntiTamperRuleRefresh__topic1521000235">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAntiTamperRuleRefresh__topic1521000237"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000239">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000241">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000243">Error code</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000244"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000246">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000248">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateAntiTamperRuleRefresh__topic1521000250">Error message</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAntiTamperRuleRefresh__topic1521000251"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="UpdateAntiTamperRuleRefresh__topic1521000253">POST https://{Endpoint}/v1/{project_id}/waf/policy/{policy_id}/antitamper/{rule_id}/refresh?</pre>
|
|
</div>
|
|
<div class="section" id="UpdateAntiTamperRuleRefresh__topic1521000254"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateAntiTamperRuleRefresh__topic1521000256"><strong id="UpdateAntiTamperRuleRefresh__topic1521000257">Status code: 200</strong></p>
|
|
<p id="UpdateAntiTamperRuleRefresh__topic1521000258">Request succeeded.</p>
|
|
<pre class="screen" id="UpdateAntiTamperRuleRefresh__topic1521000259">{
|
|
"description" : "",
|
|
"hostname" : "www.domain.com",
|
|
"id" : "0f59185b76c143f884d21cd0d88e6fa8",
|
|
"policyid" : "1f016cde588646aca3fb19f277c44d03",
|
|
"status" : 1,
|
|
"timestamp" : 1666506256928,
|
|
"url" : "/login"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="UpdateAntiTamperRuleRefresh__topic1521000260"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateAntiTamperRuleRefresh__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateAntiTamperRuleRefresh__topic1521000266"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="UpdateAntiTamperRuleRefresh__topic1521000268">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="UpdateAntiTamperRuleRefresh__topic1521000270">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="UpdateAntiTamperRuleRefresh__topic1521000272"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000274">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000276">Request succeeded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000277"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000279">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000281">Request failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000282"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000284">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000286">The token does not have required permissions.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="UpdateAntiTamperRuleRefresh__topic1521000287"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateAntiTamperRuleRefresh__topic1521000289">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateAntiTamperRuleRefresh__topic1521000291">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="UpdateAntiTamperRuleRefresh__topic1521000292"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateAntiTamperRuleRefresh__topic1521000294">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>
|
|
|