Content Filter Rules
Get all Content Filter Rules in a configuration
Content Filter Rules retrieved successfully
Validation Error
GET /api/v4.0/conf/{config}/content-filter-rules HTTP/1.1
Host: 
Accept: */*
{
  "total": 1,
  "items": [
    {
      "category": "text",
      "description": "",
      "id": "text",
      "msg": "text",
      "name": "text",
      "operand": "text",
      "risk": 1,
      "subcategory": "text",
      "tags": [
        "text"
      ]
    }
  ]
}Update an existing set of Content Filter Rules for a configuration
Category of the rule
""Log message for this rule
Matching domain(s) regex
Risk level of this rule, between 1 (lowest risk) and 5 (highest risk)
Subcategory of the rule
List of tags to apply
[]Content Filter Rules updated successfully
Validation Error
PUT /api/v4.0/conf/{config}/content-filter-rules HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 140
[
  {
    "category": "text",
    "description": "",
    "id": "text",
    "msg": "text",
    "name": "text",
    "operand": "text",
    "risk": 1,
    "subcategory": "text",
    "tags": [
      "text"
    ]
  }
]{
  "message": "Successfully updated entry"
}Create a complete set of Content Filter Rules for a configuration
Category of the rule
""Log message for this rule
Matching domain(s) regex
Risk level of this rule, between 1 (lowest risk) and 5 (highest risk)
Subcategory of the rule
List of tags to apply
[]Content Filter Rules created successfully
Validation Error
POST /api/v4.0/conf/{config}/content-filter-rules HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 140
[
  {
    "category": "text",
    "description": "",
    "id": "text",
    "msg": "text",
    "name": "text",
    "operand": "text",
    "risk": 1,
    "subcategory": "text",
    "tags": [
      "text"
    ]
  }
]{
  "message": "Successfully created entry"
}Delete all Content Filter Rules in a configuration
Content Filter Rules deleted successfully
Validation Error
DELETE /api/v4.0/conf/{config}/content-filter-rules HTTP/1.1
Host: 
Accept: */*
{
  "message": "Successfully deleted entry"
}Get a Content Filter Rule from the specified configuration
Content Filter Rule retrieved successfully
Validation Error
GET /api/v4.0/conf/{config}/content-filter-rules/{entry_id} HTTP/1.1
Host: 
Accept: */*
{
  "category": "text",
  "description": "",
  "id": "text",
  "msg": "text",
  "name": "text",
  "operand": "text",
  "risk": 1,
  "subcategory": "text",
  "tags": [
    "text"
  ]
}Update an individual Content Filter Rule within a configuration
Category of the rule
""Log message for this rule
Matching domain(s) regex
Risk level of this rule, between 1 (lowest risk) and 5 (highest risk)
Subcategory of the rule
List of tags to apply
[]Content Filter Rule updated successfully
Validation Error
PUT /api/v4.0/conf/{config}/content-filter-rules/{entry_id} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 138
{
  "category": "text",
  "description": "",
  "id": "text",
  "msg": "text",
  "name": "text",
  "operand": "text",
  "risk": 1,
  "subcategory": "text",
  "tags": [
    "text"
  ]
}{
  "message": "Successfully updated entry"
}Create an individual Content Filter Rule within a configuration
Category of the rule
""Log message for this rule
Matching domain(s) regex
Risk level of this rule, between 1 (lowest risk) and 5 (highest risk)
Subcategory of the rule
List of tags to apply
[]Content Filter Rule created successfully
Validation Error
POST /api/v4.0/conf/{config}/content-filter-rules/{entry_id} HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 138
{
  "category": "text",
  "description": "",
  "id": "text",
  "msg": "text",
  "name": "text",
  "operand": "text",
  "risk": 1,
  "subcategory": "text",
  "tags": [
    "text"
  ]
}{
  "message": "Successfully created entry"
}Delete an individual Content Filter Rule from the specified configuration
Content Filter Rule deleted successfully
Validation Error
DELETE /api/v4.0/conf/{config}/content-filter-rules/{entry_id} HTTP/1.1
Host: 
Accept: */*
{
  "message": "Successfully deleted entry"
}Get list of versions of Content Filter Rules in a configuration
Content Filter Rules version list retrieved successfully
Validation Error
GET /api/v4.0/conf/{config}/content-filter-rules/versions HTTP/1.1
Host: 
Accept: */*
{
  "total": 1,
  "items": [
    {
      "author": "text",
      "email": "[email protected]",
      "message": "text",
      "date": "2025-11-04T03:29:41.317Z",
      "version": "42bcc1282349db1e5791484c3d69420b1d8a8bc1",
      "parents": [
        "f44073242093228b45bff7eb7a065559fa9b46aa"
      ]
    }
  ]
}Get a specific version of a Content Filter Rule set
Content Filter Rule set retrieved successfully
Validation Error
GET /api/v4.0/conf/{config}/content-filter-rules/versions/{version} HTTP/1.1
Host: 
Accept: */*
{
  "total": 1,
  "items": [
    {
      "category": "text",
      "description": "",
      "id": "text",
      "msg": "text",
      "name": "text",
      "operand": "text",
      "risk": 1,
      "subcategory": "text",
      "tags": [
        "text"
      ]
    }
  ]
}Set a previous Content Filter Rule version to be the current one
Content Filter Rule reversion was successful
Validation Error
PUT /api/v4.0/conf/{config}/content-filter-rules/versions/{version}/revert HTTP/1.1
Host: 
Accept: */*
{
  "message": "Successfully updated entry"
}Last updated
Was this helpful?