v2

latestOpenAPI 3.1.0CC-BY-SA 2.02026-07-2617789528.6 KB
Settings

Set allowed networks for a policy server

Set the list of allowed networks for a policy server

post/settings/allowed_networks/{nodeId}

Path parameters

nodeIdstring uuid (or "root") required
Example:9a1773c9-0889-40b6-be89-f6504443ac1b

Policy server ID for which you want to manage allowed networks.

Request body

valuestring[]

New value of the allowed networks

Example request

{
  "value": [
    "192.168.2.0/24",
    "192.168.0.0/16"
  ]
}

Response

Allowed Networks

result'success' | 'error' required

Result of the request

action'modifyAllowedNetworks' required

The id of the action

idstring

The id of the modified node

Example response

{
  "data": {
    "settings": [
      "162.168.1.0/24",
      "192.168.2.0/24"
    ]
  }
}