Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Smart Web Security
  • Getting started
    • All guides
    • Address lists
      • Creating a template
      • Adding a template to a profile or rule
      • Managing a template
    • Viewing operations
    • Configuring monitoring
    • Setting up alerts
    • Configuring logs via Smart Web Security
    • Configuring logs via Application Load Balancer
    • Migrating to the new condition format in the API, CLI, and Terraform
    • Overview
    • Security profiles
    • WAF
    • ARL (request limit)
    • Rules
    • Conditions
    • Lists
    • Managing bot traffic
    • Protecting domains
    • Response templates
    • Logging
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Editing a template
  • Getting template info
  • Deleting a template
  1. Step-by-step guides
  2. Response templates
  3. Managing a template

Managing a response page template

Written by
Yandex Cloud
Updated at June 19, 2026
View in Markdown
  • Editing a template
  • Getting template info
  • Deleting a template

Editing a templateEditing a template

Management console
  1. In the management console, select the folder with the template.

  2. Navigate to Smart Web Security.

  3. In the left-hand panel, select Response templates.

  4. In the row with the template, click and select Edit.

  5. In the window that opens, edit the following parameters:

    • Page name.

    • Description.

    • Response code: One of the standard HTTP response codes for which the client will get a page based on your template.

    • Response format: HTML, JSON, XML, or Custom.

      Each format has a matching HTTP Content-Type header: text/html, application/json, or application/xml.

      For a custom header, select Custom. For the Custom format, you can change the Content-Type.

    • To add an HTTP header, click Add response header and specify its Key (header name) and Value. You can add up to 10 headers per template.

      To delete a header, click next to its row.

    • Response body: Edit the page content the client will get as a response. The response must not exceed 2 KB (about 2,000 UTF-8 characters) in size. Add the content as per the response format you selected while preserving the markup.

    • Add or delete presets in the response body, i.e., the additional parameters the client may get on the response page.

  6. To view the final page on the client side, click Preview at the top right.

  7. Click Save.

Getting template infoGetting template info

Management console
  1. In the management console, navigate to the folder with the template.
  2. Navigate to Smart Web Security.
  3. In the left-hand panel, select Response templates.
  4. Select the template.
  5. The Overview page will show the template details.

Deleting a templateDeleting a template

Management console
  1. In the management console, select the folder with the template.
  2. Navigate to Smart Web Security.
  3. In the left-hand panel, select Response templates.
  4. In the row with the template, click and select Delete.

You cannot delete a template added to a profile or rule. If you attempt to delete such a template, you will get a list of objects that use it. Navigate to each object’s settings and select a different template.

Was the article helpful?

Previous
Adding a template to a profile or rule
Next
Rule for captcha
© 2026 Direct Cursus Technology L.L.C.