v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Protection Templates

List protection templates

List protection templates. Offset and limit parameters control the response size.

get/security/sifter/v3/templates

Query parameters

offsetinteger
limitinteger

Response

Successful Response

namestring required

Name of the template

descriptionstring required

Description of the template

{"stackTrail":"components:schemas:ProtectionTemplateResponse:properties:template","oasType":"schema","type":"unknown","title":"Template","description":"JSON schema for the template"}
allow_mergeboolean required

Allow merging of this config with others

client_idinteger nullable required

ID of the client this template belongs to

idinteger required

Unique identifier for the template

Example response

[
  {
    "allow_merge": false,
    "client_id": 42,
    "description": "Template for configuring DDoS protection policies",
    "fields": [
      {
        "description": "Maximum number of requests per second before triggering protection",
        "field_type": "RULES",
        "id": 1,
        "name": "Rate Limit Threshold",
        "name_in_config": "rate_limit_threshold",
        "validation_schema": {
          "maximum": 100000,
          "minimum": 1,
          "type": "integer"
        }
      }
    ],
    "id": 7,
    "name": "DDoS Protection Template",
    "template": {
      "properties": {
        "threshold": {
          "minimum": 1,
          "type": "integer"
        },
        "action": {
          "enum": [
            "block",
            "challenge",
            "log"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  }
]