> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Put v1panelsettingsconnectclients

> Requires settings.write. Creates when `id` is absent and updates when it is present. The import scheme is refused unless it matches a scheme followed by `://` and a conservative path, and never when it names javascript, data, vbscript, or file — the value is concatenated with the subscription link and rendered as the href of an anchor on a page that holds a session cookie. A download address must be https.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml put /v1/panel/settings/connect/clients
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/panel/settings/connect/clients:
    put:
      tags:
        - panel
      description: >-
        Requires settings.write. Creates when `id` is absent and updates when it
        is present. The import scheme is refused unless it matches a scheme
        followed by `://` and a conservative path, and never when it names
        javascript, data, vbscript, or file — the value is concatenated with the
        subscription link and rendered as the href of an anchor on a page that
        holds a session cookie. A download address must be https.
      operationId: savePanelConnectClient
      parameters:
        - $ref: '#/components/parameters/CSRFToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PanelConnectClient'
      responses:
        '200':
          description: Saved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PanelConnectClient'
        '403':
          $ref: '#/components/responses/Problem'
        '409':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    CSRFToken:
      in: header
      name: X-CSRF-Token
      required: true
      description: >-
        Echoes the token from the current session. Required on every unsafe
        method.
      schema:
        type: string
  schemas:
    PanelConnectClient:
      type: object
      required:
        - platform
        - name
        - scheme
        - enabled
        - sortOrder
        - updatedAt
      properties:
        id:
          type: string
          format: uuid
          description: Absent creates, present updates.
        platform:
          type: string
        name:
          type: string
        scheme:
          type: string
          description: >-
            Concatenated with the subscription link to build the deep link.
            Validated against an allowlist before storage.
        downloadUrl:
          type: string
          description: https only.
        instructionsEn:
          type: string
          description: Replaces the generic setup steps for this platform when present.
        instructionsRu:
          type: string
        enabled:
          type: boolean
        sortOrder:
          type: integer
        updatedAt:
          type: string
          format: date-time
        updatedBy:
          type: string
          format: uuid
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.