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

# Update an application management configuration

> Update mutable fields on an application-management configuration. Only ADMIN/SUPERADMIN may toggle status or change source mappings.



## OpenAPI

````yaml /api-reference/openapi.yaml put /api/application-management/{id}
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/application-management/{id}:
    put:
      tags:
        - ApplicationConfigs
      summary: Update an application management configuration
      description: >-
        Update mutable fields on an application-management configuration. Only
        ADMIN/SUPERADMIN may toggle status or change source mappings.
      operationId: put_application_config
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateApplicationConfigRequest'
      responses:
        '200':
          description: Configuration updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationConfigResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationManagementErrorResponse'
        '403':
          description: Permission denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationManagementErrorResponse'
        '404':
          description: Configuration not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationManagementErrorResponse'
        '500':
          description: Failed to update configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationManagementErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateApplicationConfigRequest:
      type: object
      properties:
        configurationName:
          type: string
          description: >-
            Internal identifier shown in the Applications management list
            (unique per org).
        name:
          type: string
          description: Display name surfaced on the Application record.
        description:
          type: string
          description: Free-text note explaining what this configuration is used for.
        source:
          type: string
          description: Origin label (e.g. `Zillow`, `Encompass`) used to attribute leads.
        defaultStatus:
          type: string
          description: Initial status applied to new Applications created with this config.
        allowRecontact:
          type: boolean
          description: >-
            When true, the same contact can produce additional Applications even
            if a prior one exists.
        status:
          type: string
          enum:
            - active
            - inactive
          description: >-
            Lifecycle state of the config itself: `active` makes it selectable,
            `inactive` retires it.
      additionalProperties: true
      example:
        status: inactive
        description: Deprecated; replaced by Encompass v2 integration
    ApplicationConfigResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          additionalProperties: true
      additionalProperties: true
      example:
        success: true
        message: Configuration created
        data:
          _id: 66c0a0b0c0d0e0f0a0b0c0d0
          configurationName: Mortgage CRM Webhook
          source: Encompass
          defaultStatus: new
          status: active
          organizationId: 65a0e0e0e0e0e0e0e0e0e0e0
    ApplicationManagementErrorResponse:
      type: object
      description: >-
        Error envelope for `/api/application-management` endpoints. Most
        failures only set `error`; mutating endpoints occasionally surface a
        `success:false` + `message` pair.
      properties:
        error:
          type: string
        message:
          type: string
        success:
          type: boolean
          enum:
            - false
      required:
        - error
      additionalProperties: true
      example:
        error: Application management entry not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````