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

# Reset Password

> Issue fresh upstream credentials and revoke the old ones.

Destructive by design: every line exported earlier stops working. Throttled
to one reset per minute per subscription, sharing the bot's cooldown key,
and serialised against purchases with the same per-user lock.



## OpenAPI

````yaml /api-reference/proxy.json post /v1/proxy/subscriptions/{sub_id}/password/reset
openapi: 3.1.0
info:
  title: Lumi Proxy API
  version: 1.1.0
  description: >-
    Публичный REST API прокси Lumi. Ключ привязан к одному аккаунту и делает то
    же, что клиент делает в боте.


    Авторизация: `Authorization: Bearer <ключ>`. Денежные запросы дополнительно
    требуют заголовок `Idempotency-Key`.
servers:
  - url: https://api.lumiweb.cc/proxy
    description: production
security:
  - bearerAuth: []
paths:
  /v1/proxy/subscriptions/{sub_id}/password/reset:
    post:
      tags:
        - proxy
      summary: Reset Password
      description: >-
        Issue fresh upstream credentials and revoke the old ones.


        Destructive by design: every line exported earlier stops working.
        Throttled

        to one reset per minute per subscription, sharing the bot's cooldown
        key,

        and serialised against purchases with the same per-user lock.
      operationId: reset_password
      parameters:
        - name: sub_id
          in: path
          required: true
          schema:
            type: integer
            title: Sub Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordResetOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PasswordResetOut:
      properties:
        subscription_id:
          type: integer
          title: Subscription Id
        status:
          type: string
          title: Status
        login:
          anyOf:
            - type: string
            - type: 'null'
          title: Login
        ready:
          type: boolean
          title: Ready
          default: false
      type: object
      required:
        - subscription_id
        - status
      title: PasswordResetOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Ключ вида lumi_proxy_… Выдаётся оператором.

````