Policy
Update policy rule
patch/policy/rule/{id}
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Rule ID
Headers
X-Auth-Tokenstring required
Request body
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.