> ## 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 v1panelcustomers subscriptions

> Requires subscriptions.write. The label is the only subscription attribute the panel edits directly; expiry, traffic, limits, squads, and enabled state belong to Remnawave and change through fulfillment.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml patch /v1/panel/customers/{customerID}/subscriptions/{subscriptionID}
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/customers/{customerID}/subscriptions/{subscriptionID}:
    patch:
      tags:
        - panel
      description: >-
        Requires subscriptions.write. The label is the only subscription
        attribute the panel edits directly; expiry, traffic, limits, squads, and
        enabled state belong to Remnawave and change through fulfillment.
      operationId: renamePanelSubscription
      parameters:
        - $ref: '#/components/parameters/CustomerID'
        - in: path
          name: subscriptionID
          required: true
          schema:
            type: string
            format: uuid
        - $ref: '#/components/parameters/CSRFToken'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - label
              properties:
                label:
                  type: string
                  minLength: 1
                  maxLength: 40
      responses:
        '204':
          description: Renamed
        '403':
          $ref: '#/components/responses/Problem'
        '404':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    CustomerID:
      in: path
      name: customerID
      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
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  schemas:
    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

````

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