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

# Update app

> Update an existing app. Requires both API Secret and User Access Token.



## OpenAPI

````yaml /swagger.json patch /v1/apps/{id}
openapi: 3.0.1
info:
  title: Scute API
  version: v1
  description: API for managing users in Scute applications
servers:
  - url: https://{defaultHost}
    variables:
      defaultHost:
        default: api.scute.io
  - url: http://localhost:3333
    description: Development server
security:
  - apiSecret: []
    userAccess: []
paths:
  /v1/apps/{id}:
    parameters:
      - name: id
        in: path
        description: App ID
        required: true
        schema:
          type: string
    patch:
      tags:
        - Apps
      summary: Update app
      description: Update an existing app. Requires both API Secret and User Access Token.
      operationId: updateApp
      parameters: []
      responses:
        '200':
          description: successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  app:
                    $ref: '#/components/schemas/App'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      security:
        - apiSecret: []
          userAccess: []
components:
  schemas:
    App:
      type: object
      properties:
        id:
          type: string
          description: App ID
        name:
          type: string
          description: App name
        origin:
          type: string
          nullable: true
          description: App origin URL
        callback_url:
          type: string
          nullable: true
          description: OAuth callback URL
        logo:
          type: string
          nullable: true
          description: App logo URL
        slug:
          type: string
          description: App slug identifier
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Last update timestamp
      required:
        - id
        - name
        - created_at
        - slug
  securitySchemes:
    apiSecret:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API Secret token
    userAccess:
      type: apiKey
      name: X-Authorization
      in: header
      description: User Access token

````