Dynamic Rules
Get all Dynamic Rules in a configuration
Dynamic Rules retrieved successfully
1Input Error
Internal Server Error
GET /api/v4.3/conf/{config}/dynamic-rules HTTP/1.1
Accept: */*
{
"total": 1,
"items": [
{
"action": "text",
"active": true,
"description": "",
"id": "text",
"include": {
"relation": "OR",
"tags": [
"text"
]
},
"exclude": {
"relation": "OR",
"tags": [
"text"
]
},
"name": "text",
"offload_ip_filtering": true,
"tags": [
"text"
],
"target": "text",
"threshold": 1,
"timeframe": 1,
"ttl": 1
}
]
}Get a Dynamic Rule from the specified configuration
Dynamic Rule retrieved successfully
""Unique id
^[A-Za-z0-9\-\_]*$Input Error
Validation Error
Internal Server Error
GET /api/v4.3/conf/{config}/dynamic-rules/{entry_id} HTTP/1.1
Accept: */*
{
"action": "text",
"active": true,
"description": "",
"id": "text",
"include": {
"relation": "OR",
"tags": [
"text"
]
},
"exclude": {
"relation": "OR",
"tags": [
"text"
]
},
"name": "text",
"offload_ip_filtering": true,
"tags": [
"text"
],
"target": "text",
"threshold": 1,
"timeframe": 1,
"ttl": 1
}Update an individual Dynamic Rule within a configuration
""Unique id
^[A-Za-z0-9\-\_]*$Dynamic Rule updated successfully
Information about successful update operation
Successfully updated entryInput Error
Validation Error
Internal Server Error
PUT /api/v4.3/conf/{config}/dynamic-rules/{entry_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 258
{
"action": "text",
"active": true,
"description": "",
"id": "text",
"include": {
"relation": "OR",
"tags": [
"text"
]
},
"exclude": {
"relation": "OR",
"tags": [
"text"
]
},
"name": "text",
"offload_ip_filtering": true,
"tags": [
"text"
],
"target": "text",
"threshold": 1,
"timeframe": 1,
"ttl": 1
}{
"message": "Successfully updated entry"
}Create an individual Dynamic Rule within a configuration
^[A-Za-z0-9\-\_]*$""Unique id
^[A-Za-z0-9\-\_]*$Dynamic Rule created successfully
Information about successful create operation
Successfully created entryInput Error
Validation Error
Internal Server Error
POST /api/v4.3/conf/{config}/dynamic-rules/{entry_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 258
{
"action": "text",
"active": true,
"description": "",
"id": "text",
"include": {
"relation": "OR",
"tags": [
"text"
]
},
"exclude": {
"relation": "OR",
"tags": [
"text"
]
},
"name": "text",
"offload_ip_filtering": true,
"tags": [
"text"
],
"target": "text",
"threshold": 1,
"timeframe": 1,
"ttl": 1
}{
"message": "Successfully created entry"
}Delete an individual Dynamic Rule from the specified configuration
Dynamic Rule deleted successfully
Information about successful delete operation
Successfully deleted entryInput Error
Validation Error
Internal Server Error
DELETE /api/v4.3/conf/{config}/dynamic-rules/{entry_id} HTTP/1.1
Accept: */*
{
"message": "Successfully deleted entry"
}Last updated
Was this helpful?