Policy

Policy rule action

patch/policy/rule

Request

Query parameters

scope'fed' | 'local'

When set to fed, fed policy rules get created. When set to local or no query string, local policy rules get created.

Headers

X-Auth-Tokenstring required

Request body

deleteinteger[]

Example request

{
  "move": {
    "id": 10005
  },
  "insert": {
    "rules": [
      {
        "id": 10002,
        "comment": "a rule",
        "from": "nv.iperfc",
        "to": "Host:10.2.127.3",
        "ports": "any",
        "action": "allow",
        "applications": [
          "DNS"
        ],
        "learned": true,
        "created_timestamp": 1516563263,
        "last_modified_timestamp": 1516573243,
        "cfg_type": "ground"
      }
    ]
  },
  "rules": [
    {
      "id": 10002,
      "comment": "a rule",
      "from": "nv.iperfc",
      "to": "Host:10.2.127.3",
      "ports": "any",
      "action": "allow",
      "applications": [
        "DNS"
      ],
      "learned": true,
      "created_timestamp": 1516563263,
      "last_modified_timestamp": 1516573243,
      "cfg_type": "ground"
    }
  ]
}

Response

Success

Changes

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