> ## 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.

# Patch v1panelcatalogplans

> Requires catalog.write. Visibility, ordering, and the per-plan concurrency cap are saved together, so two operators editing one plan cannot each drop the other's change.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml patch /v1/panel/catalog/plans/{planID}
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/catalog/plans/{planID}:
    patch:
      tags:
        - panel
      description: >-
        Requires catalog.write. Visibility, ordering, and the per-plan
        concurrency cap are saved together, so two operators editing one plan
        cannot each drop the other's change.
      operationId: updatePanelPlanPresentation
      parameters:
        - $ref: '#/components/parameters/PlanID'
        - $ref: '#/components/parameters/CSRFToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PanelPlanPresentation'
      responses:
        '204':
          description: Saved
        '403':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    PlanID:
      in: path
      name: planID
      required: true
      schema:
        type: string
        format: uuid
    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:
    PanelPlanPresentation:
      type: object
      required:
        - visible
        - sortOrder
      properties:
        visible:
          type: boolean
        sortOrder:
          type: integer
        maxConcurrentPerCustomer:
          type: integer
          nullable: true
          minimum: 1
          description: >-
            Narrows the installation ceiling for this plan; it can never widen
            it.
    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.