Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • 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 WAF with support for Yandex rules
    • 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 February 24, 2026
  • 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. Go 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. Go 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. Go 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.