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

# Update Project Settings

> Updates settings on the active project



## OpenAPI

````yaml patch /project/config
openapi: 3.0.0
info:
  title: Daytalog API
  version: 0.1.0
servers:
  - url: http://localhost:5252
security:
  - ApiKeyAuth: []
paths:
  /project/config:
    patch:
      summary: Update Project Settings
      description: Updates settings on the active project
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectConfigRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    $ref: '#/components/schemas/ProjectSettings'
        '400':
          description: Validation  error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizeResponse'
        '404':
          description: No project loaded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjecteNotFoundResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    UpdateProjectConfigRequest:
      type: object
      additionalProperties: true
    ProjectSettings:
      type: object
      additionalProperties: true
    ValidationErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Validation Error
        details:
          type: array
          items:
            type: object
            properties:
              prop:
                type: string
              message:
                type: string
    UnauthorizeResponse:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
    ProjecteNotFoundResponse:
      type: object
      properties:
        error:
          type: string
          example: No Project Loaded
    ErrorResponse:
      type: object
      properties:
        error:
          oneOf:
            - type: string
            - type: array
              items:
                type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-token

````