Files
doc-exports/docs/wafd/api-ref/UpdateValueList.html
qinweiwei 14cbe51752 wafd API 20260210 version
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
Co-authored-by: qinweiwei <qinweiwei@huawei.com>
Co-committed-by: qinweiwei <qinweiwei@huawei.com>
2026-04-21 11:31:19 +00:00

338 lines
23 KiB
HTML

<a name="UpdateValueList"></a><a name="UpdateValueList"></a>
<h1 class="topictitle1">Modifying a Reference Table</h1>
<div id="body1708331107508"><div class="section" id="UpdateValueList__topic1711000000"><h4 class="sectiontitle">Function</h4><p id="UpdateValueList__topic1711000002">This API is used to modify a reference table.</p>
</div>
<div class="section" id="UpdateValueList__atuogenerate_1"><h4 class="sectiontitle">URI</h4><p id="UpdateValueList__topic1711000004">PUT /v1/{project_id}/waf/valuelist/{valuelist_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__topic1711000005" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="UpdateValueList__topic1711000013"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="UpdateValueList__topic1711000015">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="UpdateValueList__topic1711000017">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="UpdateValueList__topic1711000019">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="UpdateValueList__topic1711000021">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000023"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateValueList__topic1711000025">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateValueList__topic1711000027">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateValueList__topic1711000029">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateValueList__topic1711000031">Project ID</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000032"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="UpdateValueList__topic1711000034">valuelist_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="UpdateValueList__topic1711000036">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="UpdateValueList__topic1711000038">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="UpdateValueList__topic1711000040">Valuelist ID. It can be obtained by calling the API Querying the Reference Table List</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateValueList__topic1711000041"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="UpdateValueList__topic1711000050"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="UpdateValueList__topic1711000052">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="UpdateValueList__topic1711000054">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="UpdateValueList__topic1711000056">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="UpdateValueList__topic1711000058">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000060"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateValueList__topic1711000062">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateValueList__topic1711000064">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateValueList__topic1711000066">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateValueList__topic1711000068">User token</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000069"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="UpdateValueList__topic1711000071">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="UpdateValueList__topic1711000073">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="UpdateValueList__topic1711000075">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="UpdateValueList__topic1711000077">Content type</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__request_UpdateValueListRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="UpdateValueList__topic1711000085"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="UpdateValueList__topic1711000087">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="UpdateValueList__topic1711000089">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="UpdateValueList__topic1711000091">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="UpdateValueList__topic1711000093">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000095"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateValueList__topic1711000097">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateValueList__topic1711000099">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateValueList__topic1711000101">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateValueList__topic1711000103">Reference table name. The value can contain a maximum of 64 characters. Only digits, letters, hyphens (-), underscores (_), and periods (.) are allowed.</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000104"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateValueList__topic1711000106">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateValueList__topic1711000108">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateValueList__topic1711000110">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateValueList__topic1711000112">Reference table type. For details, see the enumeration values as followed.</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateValueList__topic1711000115">values</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateValueList__topic1711000117">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateValueList__topic1711000119">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateValueList__topic1711000121">The contents of condition matching of the rules, such as CC Attack Protection Rule or Precise Protection Rule.</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000122"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="UpdateValueList__topic1711000124">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="UpdateValueList__topic1711000126">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="UpdateValueList__topic1711000128">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="UpdateValueList__topic1711000130">Reference table description</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateValueList__topic1711000131"><h4 class="sectiontitle">Response Parameters</h4><p id="UpdateValueList__topic1711000133"><strong id="UpdateValueList__topic1711000134">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__response_UpdateValueListResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="UpdateValueList__topic1711000141"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="UpdateValueList__topic1711000143">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="UpdateValueList__topic1711000145">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="UpdateValueList__topic1711000147">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000149"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateValueList__topic1711000151">id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateValueList__topic1711000153">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateValueList__topic1711000155">ID of a reference table</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000156"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateValueList__topic1711000158">name</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateValueList__topic1711000160">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateValueList__topic1711000162">Reference table name</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000163"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateValueList__topic1711000165">type</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateValueList__topic1711000167">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateValueList__topic1711000169">The value can be:</p>
<ul id="UpdateValueList__topic1711000170"><li id="UpdateValueList__topic1711000171"><p id="UpdateValueList__topic1711000172"><a name="UpdateValueList__topic1711000171"></a><a name="topic1711000171"></a>url</p>
</li><li id="UpdateValueList__topic1711000173"><p id="UpdateValueList__topic1711000174"><a name="UpdateValueList__topic1711000173"></a><a name="topic1711000173"></a>params</p>
</li><li id="UpdateValueList__topic1711000175"><p id="UpdateValueList__topic1711000176"><a name="UpdateValueList__topic1711000175"></a><a name="topic1711000175"></a>ip</p>
</li><li id="UpdateValueList__topic1711000177"><p id="UpdateValueList__topic1711000178"><a name="UpdateValueList__topic1711000177"></a><a name="topic1711000177"></a>cookie</p>
</li><li id="UpdateValueList__topic1711000179"><p id="UpdateValueList__topic1711000180"><a name="UpdateValueList__topic1711000179"></a><a name="topic1711000179"></a>referer</p>
</li><li id="UpdateValueList__topic1711000181"><p id="UpdateValueList__topic1711000182"><a name="UpdateValueList__topic1711000181"></a><a name="topic1711000181"></a>user-agent</p>
</li><li id="UpdateValueList__topic1711000183"><p id="UpdateValueList__topic1711000184"><a name="UpdateValueList__topic1711000183"></a><a name="topic1711000183"></a>header</p>
</li><li id="UpdateValueList__topic1711000185"><p id="UpdateValueList__topic1711000186"><a name="UpdateValueList__topic1711000185"></a><a name="topic1711000185"></a>response_code</p>
</li><li id="UpdateValueList__topic1711000187"><p id="UpdateValueList__topic1711000188"><a name="UpdateValueList__topic1711000187"></a><a name="topic1711000187"></a>response_header</p>
</li><li id="UpdateValueList__topic1711000189"><p id="UpdateValueList__topic1711000190"><a name="UpdateValueList__topic1711000189"></a><a name="topic1711000189"></a>response_body</p>
</li></ul>
</td>
</tr>
<tr id="UpdateValueList__topic1711000191"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateValueList__topic1711000193">timestamp</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateValueList__topic1711000195">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateValueList__topic1711000197">Reference table timestamp</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000198"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateValueList__topic1711000200">values</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateValueList__topic1711000202">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateValueList__topic1711000204">The contents of condition matching of the rules, such as CC Attack Protection Rule or Precise Protection Rule.</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000205"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateValueList__topic1711000207">description</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateValueList__topic1711000209">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateValueList__topic1711000211">Reference table description</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000212"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="UpdateValueList__topic1711000214">producer</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="UpdateValueList__topic1711000216">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="UpdateValueList__topic1711000218">This parameter is reserved and can be ignored currently.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateValueList__topic1711000219"><strong id="UpdateValueList__topic1711000220">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__response_RestErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="UpdateValueList__topic1711000227"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="UpdateValueList__topic1711000229">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="UpdateValueList__topic1711000231">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="UpdateValueList__topic1711000233">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000235"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateValueList__topic1711000237">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateValueList__topic1711000239">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateValueList__topic1711000241">Error code</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000242"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="UpdateValueList__topic1711000244">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="UpdateValueList__topic1711000246">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="UpdateValueList__topic1711000248">Error message</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateValueList__topic1711000249"><strong id="UpdateValueList__topic1711000250">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__response_RestErrorResponse_1" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="UpdateValueList__topic1711000257"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="UpdateValueList__topic1711000259">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="UpdateValueList__topic1711000261">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="UpdateValueList__topic1711000263">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000265"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateValueList__topic1711000267">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateValueList__topic1711000269">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateValueList__topic1711000271">Error code</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000272"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="UpdateValueList__topic1711000274">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="UpdateValueList__topic1711000276">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="UpdateValueList__topic1711000278">Error message</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="UpdateValueList__topic1711000279"><strong id="UpdateValueList__topic1711000280">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__response_RestErrorResponse_2" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="UpdateValueList__topic1711000287"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="UpdateValueList__topic1711000289">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="UpdateValueList__topic1711000291">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="UpdateValueList__topic1711000293">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000295"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateValueList__topic1711000297">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateValueList__topic1711000299">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateValueList__topic1711000301">Error code</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000302"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="UpdateValueList__topic1711000304">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="UpdateValueList__topic1711000306">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="UpdateValueList__topic1711000308">Error message</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateValueList__topic1711000309"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="UpdateValueList__topic1711000311">PUT https://{Endpoint}/v1/{project_id}/waf/valuelist/{table_id}?
{
"name" : "demo2",
"type" : "url",
"values" : [ "/demo" ]
}</pre>
</div>
<div class="section" id="UpdateValueList__topic1711000312"><h4 class="sectiontitle">Example Responses</h4><p id="UpdateValueList__topic1711000314"><strong id="UpdateValueList__topic1711000315">Status code: 200</strong></p>
<p id="UpdateValueList__topic1711000316">Request succeeded.</p>
<pre class="screen" id="UpdateValueList__topic1711000317">{
"id" : "3978ca9403844a62bbd24bb5b8d16d4e",
"name" : "demo2",
"type" : "url",
"values" : [ "/demo" ],
"description" : "",
"producer" : 1,
"timestamp" : 1656495488880
}</pre>
</div>
<div class="section" id="UpdateValueList__topic1711000318"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="UpdateValueList__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="UpdateValueList__topic1711000324"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="UpdateValueList__topic1711000326">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="UpdateValueList__topic1711000328">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="UpdateValueList__topic1711000330"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateValueList__topic1711000332">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateValueList__topic1711000334">Request succeeded.</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000335"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateValueList__topic1711000337">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateValueList__topic1711000339">Request failed.</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000340"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateValueList__topic1711000342">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateValueList__topic1711000344">The token does not have required permissions.</p>
</td>
</tr>
<tr id="UpdateValueList__topic1711000345"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="UpdateValueList__topic1711000347">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="UpdateValueList__topic1711000349">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="UpdateValueList__topic1711000350"><h4 class="sectiontitle">Error Codes</h4><p id="UpdateValueList__topic1711000352">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>