Query Network Policy Set (v2.0)
POST/sdwan/v2.0/api/networkpolicysets/query
Query all the network policy sets.
Request
- application/json
Body
Query details for Network Policy Set
The existing policy from Network Policies for cloning the policy set.
The default rule for the policy set.
The description of the network policy set. Max size = 256.
The network policy set ID.
The name of the network policy set.
A information field that can be added to identify the network policy set. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
Total number.
items NetworkPolicySetQueryFilter[]
The existing policy from Network Policies for cloning the policy set.
The default rule for the policy set.
The description of the network policy set. Max size = 256.
The network policy set ID.
The name of the network policy set.
A information field that can be added to identify the network policy set. Maximum 10 unique tags of length 1024 each are allowed.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"total_count": 0,
"items": [
{
"clone_from": "string",
"defaultrule_policyset": true,
"id": "string",
"name": "string",
"tags": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_REQUEST"
}
]
}
}