Update Priority Policy Set Stack (v2.0)
PUT/v2.0/api/tenants/:tenant_id/prioritypolicysetstacks/:policy_set_id
Update a Priority Policy Set Stack.
Request
Path Parameters
The tenant ID.
The ID of the priority policy set stack.
- application/json
Body
Details of the Priority Policy Set Stack to be updated
The default policy set stack.
The ID of the default rule policy set.
The description of the priority policy set stack. Max size = 256.
The priority policy set stack ID.
The name of the priority policy set stack. Max size = 128.
The ID of the policy set.
A information field that can be added to identify the priority policy set stack. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The default policy set stack.
The ID of the default rule policy set.
The description of the priority policy set stack. Max size = 256.
The priority policy set stack ID.
The name of the priority policy set stack. Max size = 128.
The ID of the policy set.
A information field that can be added to identify the priority policy set stack. Maximum 10 unique tags of length 1024 each are allowed.
{
"default_policysetstack": true,
"defaultrule_policyset_id": "string",
"id": "string",
"name": "string",
"policyset_ids": [
"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": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "INVALID_DEFAULTRULE_POLICYSET_ID"
},
{
"code": "POLICYSETSTACK_CONFIG_DUPLICATE_POLICYSETID"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_POLICYSET_IDS"
},
{
"code": "POLICYSETSTACK_CONFIG_INVALID_DEFAULTRULE_POLICYSET_STATE"
},
{
"code": "DEFAULT_POLICYSET_STACK_EXISTS"
},
{
"code": "POLICYSETSTACK_CONFIG_DEFAULTRULE_POLICYSET_REQUIRED"
},
{
"code": "INVALID_DEFAULTRULE_POLICYSET_ID_FORMAT"
}
]
}
}