Protection Templates
Get protection template
Get a specific protection template. Returns 404 if template not found.
get/security/sifter/v3/templates/{protection_template_id}
Path parameters
protection_template_idinteger required
A positive integer ID
A positive integer ID
Response
Successful Response
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"
}
}