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

# Password Reset Token

> GET request to generate a password reset token. The token is used to update the password for an existing user. The generated token will expire if it is not used within 24 hours or if another password reset token is requested.



## OpenAPI

````yaml https://api.connectedfleet.michelin.com/fleet-management/api-docs get /public/v1/customer/{customerId}/user/{userId}/passwordResetToken
openapi: 3.0.1
info:
  title: Fleet management
  description: >-
    A comprehensive administration pack enabling full control over fleet
    structures, users, drivers, vehicles and operational data.
  contact:
    name: Masternaut
    url: https://www.masternaut.com
    email: support@masternautconnect.com
  version: 124.0.2607160821
servers:
  - url: https://api.connectedfleet.michelin.com/fleet-management
    description: Product Server
security:
  - bearerAuth: []
tags:
  - name: /driver
    description: Driver Operations
  - name: /group
    description: Group operations
  - name: /location/category
    description: Location category management operations
  - name: /location
    description: Location management operations
  - name: /role
    description: Role operations
  - name: /tokenInformation
    description: Token operations
  - name: /user
    description: User operations
  - name: /maintenance
    description: Vehicle maintenance operations
  - name: /vehicle
    description: Vehicle management operations
paths:
  /public/v1/customer/{customerId}/user/{userId}/passwordResetToken:
    get:
      tags:
        - /user
      summary: Password Reset Token
      description: >-
        GET request to generate a password reset token. The token is used to
        update the password for an existing user. The generated token will
        expire if it is not used within 24 hours or if another password reset
        token is requested.
      operationId: getPasswordResetToken
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
        - name: userId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Password reset token successfully generated
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/UserTokenDto'
        '400':
          description: Bad request
        '401':
          description: Cannot reset password of SSO user
        '404':
          description: User not found
components:
  schemas:
    UserTokenDto:
      type: object
      properties:
        token:
          type: string
        expiryTime:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````