Query Security Prefix Filter (v2.0)
POST/v2.0/api/tenants/:tenant_id/sites/:site_id/prefixfilters/query
Query the security prefix filter for the NB API.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
site_id stringrequired
The ID of the site.
- application/json
Body
Query details for security prefix filter
id string
The ID of the security prefix filter.
query_params QueryParam
Query Params: Valid
zone_id stringrequired
The element security zone ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count int32
The count of the query list.
deleted_count int64
The deleted number of queries.
deleted_ids string[]
The deleted query IDs.
description
Description of the query. Max size = 256.
id string
The ID.
next_query object
Details of the next query.
tenant_id string
The tenant ID.
total_count int64
Total number of queries.
items PrefixFilterQueryScreen[]
id string
The ID of the security prefix filter.
query_params QueryParam
Query Params: Valid
zone_id stringrequired
The element security zone ID.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"id": "string",
"query_params": {
"zone_id": "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": "SECURITYZONE_INVALID_QUERY"
}
]
}
}
Loading...