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

# Update OTT channel

> Update an existing OTT channel



## OpenAPI

````yaml PUT /ott/channels/{id}
openapi: 3.0.3
info:
  title: NativeMessage API
  version: 1.0.0
  description: Complete API documentation for NativeMessage platform
  contact:
    name: NativeMessage Support
    email: support@nativemessage.com
servers:
  - url: https://api-message.nativehub.live/api/v1
    description: Production server
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /ott/channels/{id}:
    put:
      tags:
        - OTT Channels
      summary: Update OTT channel
      description: Update an existing OTT channel
      operationId: updateOTTChannel
      parameters:
        - name: id
          in: path
          required: true
          description: OTT Channel ID
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                config:
                  type: object
                status:
                  type: string
              example:
                name: WhatsApp Business Updated
                status: active
      responses:
        '200':
          description: OTT channel updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OTTChannel'
        '404':
          description: Channel not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    OTTChannel:
      type: object
      properties:
        id:
          type: string
          format: uuid
        tenant_id:
          type: string
          format: uuid
        name:
          type: string
        channel:
          type: string
          enum:
            - whatsapp
            - viber
            - telegram
        provider_id:
          type: string
          format: uuid
        config:
          type: object
        status:
          type: string
        created_at:
          type: string
          format: date-time
      example:
        id: f8a9b0c1-d2e3-4567-fa89-012345678901
        tenant_id: c3d4e5f6-a7b8-9012-cdef-123456789012
        name: WhatsApp Business
        channel: whatsapp
        provider_id: a9b0c1d2-e3f4-5678-ab90-123456789012
        config:
          business_account_id: '1234567890'
          phone_number_id: '9876543210'
        status: active
        created_at: '2026-02-01T14:00:00Z'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
      example:
        error: Invalid request parameters
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````