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

# Request a password reset code

> Emails a verification code to the address supplied. PUBLIC — no authentication required. The response is IDENTICAL (204) whether or not an account exists for that address, so it cannot be used to discover which emails are registered.



## OpenAPI

````yaml /en/openapi/v3-current/AM-identity.yaml post /v1/users/forgot-password/send-code
openapi: 3.0.1
info:
  contact: {}
  description: This is a swagger documentation for the Identity API
  termsOfService: http://swagger.io/terms/
  title: Identity API
  version: 1.0.0
servers:
  - url: //localhost:4001/
security: []
paths:
  /v1/users/forgot-password/send-code:
    post:
      tags:
        - Users
      summary: Request a password reset code
      description: >-
        Emails a verification code to the address supplied. PUBLIC — no
        authentication required. The response is IDENTICAL (204) whether or not
        an account exists for that address, so it cannot be used to discover
        which emails are registered.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForgotPasswordSendCodeInput'
        description: Forgot Password Send Code
        required: true
      responses:
        '204':
          content: {}
          description: No Content
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pkg.HTTPError'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pkg.HTTPError'
          description: Internal Server Error
components:
  schemas:
    ForgotPasswordSendCodeInput:
      description: ForgotPasswordSendCodeInput payload
      example:
        email: user@acme.com
      properties:
        email:
          description: Email address of the account requesting a reset code.
          example: user@acme.com
          type: string
      required:
        - email
      type: object
    pkg.HTTPError:
      properties:
        code:
          type: string
        entityType:
          type: string
        err:
          type: object
        message:
          type: string
        title:
          type: string
      type: object

````