Delete Security Policy Rule (v2.0)
DELETE/v2.0/api/tenants/:tenant_id/securitypolicysets/:policy_set_id/securitypolicyrules/:policy_rule_id
Delete a security policy rule.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
policy_set_id stringrequired
ID of the security policy set.
policy_rule_id stringrequired
ID of the security policy rule.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
action string
The action taken for traffic matching this rule. It determine how the traffic from the specified source zone to the specified destination zone should respond.
application_ids string[]required
The security policy rule application ID.
description
The description of the security policy rule. Max size = 256.
destination_filter_ids string[]
The destination filter IDs. Max list of prefix IDs is 16.
destination_zone_ids string[]required
The destination zone IDs. Max list of zone IDs is 16.
disabled_flag boolean
The security policy rule, if disabled.
id string
The security policy rule ID.
name stringrequired
The name of the security policy rule. Max size = 128.
source_filter_ids string[]
The source filter IDs. Max list of IDs is 16.
source_zone_ids string[]required
The source zone IDs. Max list of IDs is 16.
{
"action": "string",
"application_ids": [
"string"
],
"destination_filter_ids": [
"string"
],
"destination_zone_ids": [
"string"
],
"disabled_flag": true,
"id": "string",
"name": "string",
"source_filter_ids": [
"string"
],
"source_zone_ids": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
message string
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "SECURITY_POLICYRULE_INVALID_OPERATION"
},
{
"code": "SECURITY_POLICYRULE_INVALID_POLICYSET"
}
]
}
}
Loading...