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

# Update App

> Updates an existing Big Peer app's configuration.



## OpenAPI

````yaml /ditto-server/operator/operator-api-spec.json put /namespace/{namespace}/bigPeer/{big_peer_name}/app/{app_name}
openapi: 3.1.0
info:
  title: Operator Management API
  description: A RESTful API that allows users to manage Big Peer apps and API keys.
  license:
    name: Ditto Binary License
    identifier: Ditto Binary License
  version: 1.0.0
servers:
  - url: http://localhost:{port}
    description: Local server
    variables:
      port:
        default: '8080'
security: []
tags:
  - name: App
    description: Big Peer apps API endpoints
  - name: API Keys
    description: Big Peer HTTP API keys
  - name: Data Bridge
    description: Apps' data bridges (CDC)
paths:
  /namespace/{namespace}/bigPeer/{big_peer_name}/app/{app_name}:
    patch:
      tags:
        - Apps
      summary: Update App
      description: Updates an existing Big Peer app's configuration.
      operationId: updateApp
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAppRequest'
        required: true
      responses:
        '200':
          description: App successfully updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/App'
        '400':
          description: bad request
          content:
            application/json:
              examples:
                BigPeerNameMismatch:
                  summary: big peer in app label doesn't match uri parameter
        '404':
          description: app not found
          content:
            application/json:
              examples:
                AppNotFound:
                  summary: big peer app not found
components:
  schemas:
    UpdateAppRequest:
      type: object
      required:
        - authProviders
      properties:
        authProviders:
          type: object
          title: AuthProviders
          description: >-
            Auth providers associated with a BigPeer App, to be used when
            authenticating devices against BigPeer Subscription.
          additionalProperties: 8f67d282-5d96-45f4-b25f-1f3f55a9a68d
    App:
      type: object
      required:
        - name
      properties:
        appId:
          type: string
          title: AppId
          format: uuid
          description: UUID used to identify a BigPeerApp resource
        authProviders:
          type: object
          title: AuthProviders
          description: >-
            Auth providers associated with a BigPeer App, to be used when
            authenticating devices against BigPeer Subscription.
          additionalProperties: 8f67d282-5d96-45f4-b25f-1f3f55a9a68d
        name:
          type: string
          title: Dns1123Label
          description: >-
            RFC 1123 DNS labels used for most Kubernetes resource names.  Some
            resource types require their names to follow the DNS label standard
            as defined in [RFC 1123][rfc1123].
                         This means the name must:
                            * contain at most 63 characters * contain only lowercase alphanumeric characters or '-' * start with an alphanumeric character
                            * end with an alphanumeric character
                        [rfc1123]: https://tools.ietf.org/html/rfc1123
          maxLength: 63
          minLength: 1
          pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

````