Create New Global Prefix Filter (v2.0)
Create a new global prefix filter.
Path Parameters
tenant_id string required
Tenant Id
application/json
Request Body
Details of the prefix filter to be created
- Array [
- ]
description
Description for the global prefix filter.
filters Filter[] required
List the filters.
elements string[] required
Filter by element.
path string[] required
Filter by path.
site object required
Filter by site.
type string
Filter by type.
id string
ID of the global prefix filter.
name string required
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[] required
Filter by element.
path string[] required
Filter by path.
site object required
Filter by site.
type string
Filter by type.
id string
ID of the global prefix filter.
name string required
Name of the global prefix filters.
{
"filters": [
{
"elements": [
"string"
],
"path": [
"string"
],
"site": {},
"type": "string"
}
],
"id": "string",
"name": "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_FILTER_DUPLICATE_FILTER"
},
{
"code": "SECURITY_FILTER_NAME_REQUIRED"
},
{
"code": "SECURITY_FILTER_INVALID_NAME"
},
{
"code": "SECURITY_FILTER_INVALID_DESCRIPTION"
},
{
"code": "JSON_SCHEMA_MISMATCH"
}
]
}
}
Loading...