Update Policy Set (v3.0)
PUT/v3.0/api/tenants/:tenant_id/policysets/:policy_set_id
Update policy set of a tenant.
Request
Path Parameters
The tenant ID.
The policy set ID.
- application/json
Body
Policyset id
- Array [
- Array [
- ]
- ]
- Array [
- ]
bandwidth_allocation_schemes BandwidthAllocationScheme[]required
Allocate or modify the percentage of bandwidth configured for each priority and application traffic type. Can configure up to four bandwidth allocation schemes.
bandwidth_range BandwidthRange
The details of the bandwidth range.
The high range of the bandwidth allocated.
The low range of the bandwidth allocated.
business_priorities BusinessPriority[]
Information on the business priorities.
The bandwidth allocated.
bandwidth_split_per_type BandwidthSplit
The bandwidth split per type.
Bulk
Rt Audio
Rt Video
Transactional
The priority number.
business_priority_names BusinessPriorityNameMapper[]required
The list of business priority names. Max size = 4.
The business priority name.
The business priority number.
The default policy.
The description of the policy set.
The policy set ID.
The name of the policy set. Max size = 128.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
bandwidth_allocation_schemes BandwidthAllocationScheme[]required
Allocate or modify the percentage of bandwidth configured for each priority and application traffic type. Can configure up to four bandwidth allocation schemes.
bandwidth_range BandwidthRange
The details of the bandwidth range.
The high range of the bandwidth allocated.
The low range of the bandwidth allocated.
business_priorities BusinessPriority[]
Information on the business priorities.
The bandwidth allocated.
bandwidth_split_per_type BandwidthSplit
The bandwidth split per type.
Bulk
Rt Audio
Rt Video
Transactional
The priority number.
business_priority_names BusinessPriorityNameMapper[]required
The list of business priority names. Max size = 4.
The business priority name.
The business priority number.
The default policy.
The description of the policy set.
The policy set ID.
The name of the policy set. Max size = 128.
{
"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_num": 0
}
]
}
],
"business_priority_names": [
{
"priority_name": "string",
"priority_num": 0
}
],
"default_policy": true,
"id": "string",
"name": "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": "POLICY_NOT_AVAILABLE"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "POLICY_SET_UPDATE_DEFAULT_POLICY_EXISTS"
}
]
}
}