User APIs/Profile & Settings
Update Password
POST
/user/updatepasswordBearer token required
ADMIN | USERContent-Type:
application/jsonRequest Example
JSON
{
"currentPassword": "OldP@ss123",
"newPassword": "NewP@ss789"
}Code Examples
curl -X POST 'https://<your-domain>:3001/user/updatepassword' \
-H 'Authorization: Bearer <token>' \
-H 'Content-Type: application/json' \
-d '{
"currentPassword": "OldP@ss123",
"newPassword": "NewP@ss789"
}'