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

# Update Config Definition



## OpenAPI

````yaml api-reference/openapi.json put /api/v1/config_definition/{config_definition_key}
openapi: 3.1.0
info:
  title: Tartarus API
  description: Tartarus API for managing the underworld configurations
  version: 1.0.0
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /api/v1/config_definition/{config_definition_key}:
    put:
      tags:
        - Config Definition
      summary: Update Config Definition
      operationId: >-
        update_config_definition_api_v1_config_definition__config_definition_key__put
      parameters:
        - name: config_definition_key
          in: path
          required: true
          schema:
            type: string
            title: Config Definition Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigDefinitionEditable'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateConfigDefinitionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - Bearer: []
components:
  schemas:
    ConfigDefinitionEditable:
      properties:
        indexes:
          items:
            type: string
          type: array
          title: Indexes
          description: >-
            List of field names to be indexed. Each must exist in the schema
            properties.
      type: object
      title: ConfigDefinitionEditable
      description: >-
        Represents an existing configuration definition to be updated in the
        internal table.
      example:
        indexes:
          - setting_object.first_key
    UpdateConfigDefinitionResponse:
      properties:
        status:
          $ref: '#/components/schemas/Status'
          description: The status of the response.
          default: SUCCESS
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: The message for the response.
        data:
          $ref: '#/components/schemas/ConfigDefinitionEditable'
        errors:
          anyOf:
            - {}
            - type: 'null'
          title: Errors
          description: The errors for the response.
      type: object
      required:
        - data
      title: UpdateConfigDefinitionResponse
      description: Represents the response for updating a configuration definition.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Status:
      type: string
      enum:
        - SUCCESS
        - FAILURE
      title: Status
      description: Enum class for status
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    Bearer:
      type: apiKey
      in: header
      name: Authorization

````