Update Security Prefix Filter (v2.0)
PUT/v2.0/api/tenants/:tenant_id/sites/:site_id/prefixfilters/:filter_id
Update an existing security prefix filter.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
site_id stringrequired
The ID of the site.
filter_id stringrequired
The ID of the prefix filter association.
- application/json
Body
Details of the site security prefix filter to be updated
- Array [
- ]
filters Filter[]required
The details of the prefix filter.
elements string[]
Elements of the filter.
path string[]
Path of the filter.
site object
Site of the filter.
type string
Type of the filter.
wn_path string[]
Wn Path
id string
The ID.
prefix_filter_id string
The ID of the prefix filter.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
filters Filter[]required
The details of the prefix filter.
elements string[]
Elements of the filter.
path string[]
Path of the filter.
site object
Site of the filter.
type string
Type of the filter.
wn_path string[]
Wn Path
id string
The ID.
prefix_filter_id string
The ID of the prefix filter.
{
"filters": [
{
"elements": [
"string"
],
"path": [
"string"
],
"site": {},
"type": "string",
"wn_path": [
"string"
]
}
],
"id": "string",
"prefix_filter_id": "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": "SECURITYZONE_INVALID_CONTEXT"
},
{
"code": "LOCAL_PREFIX_NOT_FOUND"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "SECURITYZONE_INVALID_FILTER"
}
]
}
}
Loading...