> ## Documentation Index
> Fetch the complete documentation index at: https://developers.octaviatech.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Rotate tenant captcha secret

> Rotates only the CAPTCHA secret key for the current tenant, keeping other config fields unchanged.



## OpenAPI

````yaml /api-reference/ai-cms/openapi.json patch /forms/captcha/config/secret
openapi: 3.1.0
info:
  title: Blog API
  version: 1.0.0
servers:
  - url: https://api.octaviatech.app/cms
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Tags
    description: Tag management endpoints
paths:
  /forms/captcha/config/secret:
    patch:
      tags:
        - Forms
      summary: Rotate tenant captcha secret
      description: >-
        Rotates only the CAPTCHA secret key for the current tenant, keeping
        other config fields unchanged.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - secretKey
              properties:
                secretKey:
                  type: string
            examples:
              Rotate:
                value:
                  secretKey: new-secret-key
      responses:
        '200':
          description: Rotated
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Config not found
        '500':
          description: >-
            Server error, including Joi validation failures — the command
            signals those with code 406, which is not a whitelisted response
            code and is normalized to 500
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````