Policy

Update policy rule

patch/policy/rule/{id}

Request

Path parameters

idinteger required

Rule ID

Headers

X-Auth-Tokenstring required

Request body

replicateboolean

Example request

{
  "config": {
    "id": 10001,
    "comment": "a deny rule",
    "from": "nv.iperfclient",
    "to": "external",
    "ports": "any",
    "action": "deny",
    "disable": true,
    "cfg_type": "CfgTypeLearned"
  },
  "replicate": true
}

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.