Update Security Policy Set (v2.0)
POST/v2.0/api/tenants/:tenant_id/securitypolicysets/:policy_set_id/firewallpolicyruleorder
Update a tenant security policy set.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
policy_set_id stringrequired
ID of th esecurity policy set.
- application/json
Body
Details of the policy set to be created
- Array [
- ]
id string
ID of the security policy set.
operations RuleOrder[]
The actions to create the security policy set.
insert_before string
Insert Before
policyrule_id string
Policyrule Id
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
description
The description of the security policy set. Max size = 256.
id string
The security policy set ID.
name stringrequired
The name of the security policy set. Max size = 128.
policyrule_order string[]
The order for the execution of the policy rule.
{
"id": "string",
"name": "string",
"policyrule_order": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "JSON_SCHEMA_MISMATCH"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON"
},
{
"code": "SECURITY_POLICYSET_INVALID_DEFAULT"
},
{
"code": "SECURITY_POLICYSET_INVALID_NAME"
},
{
"code": "SECURITY_POLICYSET_NAME_REQUIRED"
},
{
"code": "SECURITY_POLICYSET_INVALID_DESCRIPTION"
}
]
}
}
Loading...