Skip to main content

Create Security Policy Set (v2.0)

POST 

https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/ngfwsecuritypolicysets

Create a security policy V2 set.

Request

Body

    clone_fromstring

    Policy sets cloned from existing policy sets.

    defaultrule_policysetboolean

    The default rule of the policy set.

    description

    The description of the security policy set. Max size = 256.

    idstring

    The security policy set ID.

    namestringrequired

    The name of the security policy set. Max size = 128.

    policyrule_orderstring[]

    The order for the execution of the policy rule.

    tagsstring[]

    A information field that can be added to identify the security policy set. Maximum 10 unique tags of length 1024 each are allowed.

Responses

Successful Operation

Schema
    clone_fromstring

    Policy sets cloned from existing policy sets.

    defaultrule_policysetboolean

    The default rule of the policy set.

    description

    The description of the security policy set. Max size = 256.

    idstring

    The security policy set ID.

    namestringrequired

    The name of the security policy set. Max size = 128.

    policyrule_orderstring[]

    The order for the execution of the policy rule.

    tagsstring[]

    A information field that can be added to identify the security policy set. Maximum 10 unique tags of length 1024 each are allowed.

curl -L 'https://api.sase.paloaltonetworks.com/sdwan/v2.0/api/ngfwsecuritypolicysets' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"clone_from": "string",
"defaultrule_policyset": true,
"id": "string",
"name": "string",
"policyrule_order": [
"string"
],
"tags": [
"string"
]
}'
Request Collapse all
Base URL
https://api.sase.paloaltonetworks.com
Body
{
  "clone_from": "string",
  "defaultrule_policyset": true,
  "id": "string",
  "name": "string",
  "policyrule_order": [
    "string"
  ],
  "tags": [
    "string"
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!