Create Security Policy Set (v2.0)
POSThttps://api.sase.paloaltonetworks.com/sdwan/v2.0/api/ngfwsecuritypolicysets
Create a security policy V2 set.
Request
- application/json
Body
Policy sets cloned from existing policy sets.
The default rule of the policy set.
The description of the security policy set. Max size = 256.
The security policy set ID.
The name of the security policy set. Max size = 128.
The order for the execution of the policy rule.
A information field that can be added to identify the security policy set. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
Policy sets cloned from existing policy sets.
The default rule of the policy set.
The description of the security policy set. Max size = 256.
The security policy set ID.
The name of the security policy set. Max size = 128.
The order for the execution of the policy rule.
A information field that can be added to identify the security policy set. Maximum 10 unique tags of length 1024 each are allowed.
{
"clone_from": "string",
"defaultrule_policyset": true,
"id": "string",
"name": "string",
"policyrule_order": [
"string"
],
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
}
]
}
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
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"
]
}'