跳转至

nla自定义规则

POST 更新规则排序 nlaV1:acl:edit

POST /prod-api/waf/nlaV1/custom/rules/modifyRuleSort

Body 请求参数

{
  "oldSort": 4,
  "newSort": "5",
  "aclId": 74
}

请求参数

名称 位置 类型 必选 中文名 说明
Authorization header string -
body body ModifyNlaRuleSortReqVO ModifyNlaRuleSortReqVO -

返回示例

200 Response

{"msg":"成功","code":200,"data":74}

返回结果

状态码 状态码含义 说明 数据模型
200 OK OK Inline
201 Created Created -
401 Unauthorized Unauthorized -
403 Forbidden Forbidden -
404 Not Found Not Found -

返回数据结构

状态码 200

名称 类型 必选 约束 中文名 说明
» additionalProperties object false - -

数据模型

ModifyNlaRuleSortReqVO

{
  "aclId": 0,
  "newSort": 0,
  "oldSort": 0
}

ModifyNlaRuleSortReqVO

属性

名称 类型 必选 约束 中文名 说明
aclId integer(int64) true - 策略组id -
newSort integer(int32) true - 跳转行 -
oldSort integer(int32) true - 当前行 -