Create New Local Prefix Filter (v2.0)
POST/v2.0/api/tenants/:tenant_id/localprefixfilters
Create a new local prefix filter.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
- application/json
Body
Details of the prefix filter to be created
description
Description of the local prefix filter.
id string
ID of the local prefix filter.
name stringrequired
Name of the local prefix filter.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
description
Description of the local prefix filter.
id string
Id of the local prefix filter.
name stringrequired
Name of the local prefix filter.
{
"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...