v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🔐 Authentication

Change current password

The Change Password API allows logged-in users to update their current password by providing the old password as a verification step.

This API provides a secure mechanism for users to change their passwords within the application.

By accessing this endpoint and providing the old password, users can initiate the password change process and set a new password of their choice.

post/users/change-password

Request body

newPasswordstring
oldPasswordstring

Example request

{
  "newPassword": "test@123",
  "oldPassword": "new@123"
}

Response

Change current password

dataobject
messagestring
statusCodenumber
successboolean

Example response

{
  "message": "Password changed successfully",
  "statusCode": 200,
  "success": true
}