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

# Reset User Password

> Reset the password for a specified user. This does not notify the user in any way.



## OpenAPI

````yaml post /v1/resetUserPassword
openapi: 3.0.1
info:
  title: Brandblast API
  description: A user management API for white labels
  version: 1.0.0
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://dashboard.brandblast.ai/api
security:
  - ApiKeyAuth: []
tags:
  - name: User Management
    description: APIs for managing users
paths:
  /v1/resetUserPassword:
    post:
      tags:
        - User Management
      summary: Reset user password
      description: >-
        Reset the password for a specified user. This does not notify the user
        in any way.
      operationId: resetUserPassword
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - user_email
                - new_password
              properties:
                user_email:
                  type: string
                  format: email
                  description: Email address of the user whose password is to be reset
                new_password:
                  type: string
                  description: New password for the user
            example:
              user_email: user@example.com
              new_password: newSecurePassword123
      responses:
        '200':
          description: Password reset successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              example:
                message: Password reset successfully.
        '400':
          description: Bad request - missing parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              example:
                message: Missing required parameters.
        '401':
          description: Unauthorized - invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              example:
                message: 'Unauthorized: Invalid or unauthorized API key.'
        '403':
          description: Forbidden - unauthorized operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              example:
                message: 'Unauthorized: Cannot reset password for a white label user.'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              example:
                message: User not found.
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
              example:
                message: Failed to reset password.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````