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

# Reset user password

> Consumes a one-time reset token and updates the user's password.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/auth/reset-password
openapi: 3.0.0
info:
  title: PlugToPay API
  description: API to make payments easy in multiple gateways.
  version: 1.0.0
servers:
  - url: http://localhost:7701
    description: Test Server
security: []
paths:
  /api/v1/auth/reset-password:
    post:
      tags:
        - Auth
      summary: Reset user password
      description: Consumes a one-time reset token and updates the user's password.
      operationId: aefd8252597cc6cabd98b7ebb063c5ab
      parameters:
        - $ref: '#/components/parameters/XClientId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
                - token
                - password
                - password_confirmation
              properties:
                token:
                  type: string
                  example: a1b2c3d4e5f6...
                password:
                  type: string
                  format: password
                  minLength: 8
                  example: newSecret123
                password_confirmation:
                  type: string
                  format: password
                  example: newSecret123
              type: object
      responses:
        '200':
          description: Password reset successfully
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Password reset successfully.
                type: object
        '422':
          description: Invalid or expired reset token
components:
  parameters:
    XClientId:
      name: x-client-id
      in: header
      description: Client identifier for the company in the request.
      required: true
      schema:
        type: string
        example: client_abc123

````