Delete Priority Policy Set (v2.0)
DELETE/sdwan/v2.0/api/prioritypolicysets/:policy_set_id
Delete a priority policy set.
Request
Path Parameters
The ID of the priority policy set.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
bandwidth_allocation_schemes BandwidthAllocationSchemeV2[]required
The bandwidth allocation schemes configured for a given policy set. Upto four bandwidth allocation schemes can be configured.
bandwidth_range BandwidthRange
The defined bandwidth range.
The high range of the bandwidth allocated.
The low range of the bandwidth allocated.
business_priorities BusinessPriorityV2[]
The defined business priorities.
The bandwidth allocated.
bandwidth_split_per_type BandwidthSplit
The bandwidth allocated split by type.
Bulk
Rt Audio
Rt Video
Transactional
The priority number for a type.
business_priority_names BusinessPriorityNameMapper[]required
The business priority names. Max list size = 4.
The business priority name.
The business priority number.
The existing policy from Stacked Policies for cloning the policy set.
default_rule_dscp_mappings DefaultRuleDSCPMapping[]
The default rule of the DSCP mappings.
The default DSCP rule mapping.
The priority number of the rule.
Possible values: [RT_AUDIO
, RT_VIDEO
, TRANSACTIONAL
, BULK
]
The transfer type.
The default rule of the policy set.
The description of the policy set. Max size = 256.
The priority policy set ID.
The name of the policy set. Max size = 128.
A information field that can be added to identify the policy set. Maximum 10 unique tags of length 1024 each are allowed.
The template used for cloning the policy rule. The template option creates a set of rules from a predefined template can be customized after creation.
{
"bandwidth_allocation_schemes": [
{
"bandwidth_range": {
"high": 0,
"low": 0
},
"business_priorities": [
{
"bandwidth_allocation": 0,
"bandwidth_split_per_type": {
"bulk": 0,
"rt_audio": 0,
"rt_video": 0,
"transactional": 0
},
"priority_number": 0
}
]
}
],
"business_priority_names": [
{
"priority_name": "string",
"priority_num": 0
}
],
"clone_from": "string",
"default_rule_dscp_mappings": [
{
"dscp": [
0
],
"priority_number": 0,
"transfer_type": "RT_AUDIO"
}
],
"defaultrule_policyset": true,
"id": "string",
"name": "string",
"tags": [
"string"
],
"template": true
}
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": "POLICYSET_IS_IN_USE"
},
{
"code": "POLICYSET_INVALID_STATE"
}
]
}
}