Skip to main content
POST
/
password-change
curl -X POST https://api-verifier-2.onrender.com/password-change \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <your-token>" \
  -d '{
    "currentPassword": "oldpassword123",
    "newPassword": "newpassword456"
  }'
{
  "success": true,
  "message": "Password changed successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.quader864.ir/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint requires authentication. Include your JWT token in the request.

Request body

currentPassword
string
required
User’s current password
newPassword
string
required
New password (minimum 8 characters)

Response

success
boolean
Indicates if the password change was successful
message
string
Success or error message
curl -X POST https://api-verifier-2.onrender.com/password-change \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <your-token>" \
  -d '{
    "currentPassword": "oldpassword123",
    "newPassword": "newpassword456"
  }'
{
  "success": true,
  "message": "Password changed successfully"
}