WEB应用防火墙 WAF-修改引用表:请求示例

时间:2024-01-26 15:43:51

请求示例

更新项目id为project_id,引用表id为valuelistid的引用表,引用表名称为“RPmvp0m4”,引用表类型为“response_coderl”,值为“500”,描述为“demo”。

PUT https://{Endpoint}/v1/{project_id}/waf/valuelist/{valuelistid}?enterprise_project_id=0

{
  "name" : "RPmvp0m4",
  "type" : "response_code",
  "values" : [ "500" ],
  "description" : "demo"
}
support.huaweicloud.com/api-waf/UpdateValueList.html