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

# Update Query Group Name

> Updates the name of an existing query group.

A query group represents a set of related queries for a specific product line or campaign. Customers can have multiple query groups. The caller must own the query group through their organization.



## OpenAPI

````yaml POST /update-query-group-name
openapi: 3.1.0
info:
  title: Mindshare API
  description: >-
    The Mindshare API provides comprehensive access to brand visibility
    analytics, customer intelligence, and growth tracking. Use this API to
    retrieve customer data, query groups, execution results, domain insights,
    and actionable recommendations for improving your brand's AI visibility.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.mindshare.so/customer/v1
security:
  - apiKeyHeader: []
paths:
  /update-query-group-name:
    post:
      description: >-
        Updates the name of an existing query group.


        A query group represents a set of related queries for a specific product
        line or campaign. Customers can have multiple query groups. The caller
        must own the query group through their organization.
      requestBody:
        description: Query Group rename details
        content:
          application/json:
            schema:
              type: object
              properties:
                queryGroupId:
                  type: number
                  description: The ID of the query group to rename.
                name:
                  type: string
                  description: >-
                    The new name for the query group. Must be a non-empty
                    string.
              required:
                - queryGroupId
                - name
        required: true
      responses:
        '200':
          description: Query group name updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
components:
  schemas:
    MessageResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            message:
              type: string
              description: Success message
          required:
            - message
          description: Response details
        version:
          type: string
          description: API version
        env:
          type: string
          description: Environment name
      required:
        - data
        - version
        - env
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````