Update Global Prefix Filter (v2.0)
PUT/v2.0/api/tenants/:tenant_id/globalprefixfilters/:filter_id
Update a new global prefix filter.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
filter_id stringrequired
The ID of the new global prefix filter.
- application/json
Body
Details to update the global prefix filter.
- Array [
- ]
description
Description for the global prefix filter.
filters Filter[]required
List the filters.
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
ID of the global prefix filter.
name stringrequired
Name of the global prefix filters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
description
Description for the global prefix filter.
filters Filter[]required
List the filters.
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
ID of the global prefix filter.
name stringrequired
Name of the global prefix filters.
{
"filters": [
{
"elements": [
"string"
],
"path": [
"string"
],
"site": {},
"type": "string",
"wn_path": [
"string"
]
}
],
"id": "string",
"name": "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": "SECURITY_FILTER_DUPLICATE_FILTER"
},
{
"code": "SECURITY_FILTER_NAME_REQUIRED"
},
{
"code": "SECURITY_FILTER_INVALID_NAME"
},
{
"code": "SECURITY_FILTER_INVALID_DESCRIPTION"
},
{
"code": "JSON_SCHEMA_MISMATCH"
}
]
}
}
Loading...