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

# Update an existing app

> Updates an app's manifest and configurations



## OpenAPI

````yaml patch /apps/{id}/update-app
openapi: 3.0.0
info:
  title: THENA APPS STUDIO
  description: >-
    Thena apps studio is a comprehensive API suite designed to facilitate the
    creation and management of apps.
  version: '1.0'
  contact: {}
servers:
  - url: https://apps-studio.thena.ai
security: []
tags: []
paths:
  /apps/{id}/update-app:
    patch:
      tags:
        - App Creation
      summary: Update an existing app
      description: Updates an app's manifest and configurations
      operationId: AppManifestController_updateApp
      parameters:
        - name: id
          required: true
          in: path
          description: Unique identifier of the app
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAppDto'
      responses:
        '200':
          description: App updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppUpdateResponseDto'
        '403':
          description: User lacks required permissions
        '404':
          description: App not found
      security:
        - x-api-key: []
components:
  schemas:
    CreateAppDto:
      type: object
      properties: {}
    AppUpdateResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Status of the update operation
          example: success
          enum:
            - success
            - unchanged
        message:
          type: string
          description: Message describing the result of the operation
          example: Minor changes saved successfully
        changes:
          type: array
          description: List of changes made to the app manifest
          items:
            type: object
            properties:
              path:
                type: string
                example: app.name
              oldValue:
                type: string
                example: Old Name
              newValue:
                type: string
                example: New Name
      required:
        - status
        - message
        - changes
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key

````